CVE-2023-41045

Description

Graylog is a free and open log management platform. Graylog makes use of only one single source port for DNS queries. Graylog binds a single socket for outgoing DNS queries and while that socket is bound to a random port number it is never changed again. This goes against recommended practice since 2008, when Dan Kaminsky discovered how easy is to carry out DNS cache poisoning attacks. In order to prevent cache poisoning with spoofed DNS responses, it is necessary to maximise the uncertainty in the choice of a source port for a DNS query. Although unlikely in many setups, an external attacker could inject forged DNS responses into a Graylog's lookup table cache. In order to prevent this, it is at least recommendable to distribute the DNS queries through a pool of distinct sockets, each of them with a random source port and renew them periodically. This issue has been addressed in versions 5.0.9 and 5.1.3. Users are advised to upgrade. There are no known workarounds for this issue.

Severity
LOW
CVSS v3
3.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N · source cna
Exploit chance (EPSS)
0.358%
chance of exploitation in the next 30 days
higher than 30% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableno
Technical impactpartial
Scored2024-10-01

Timeline

  1. 2023-07-06GitHub advisory published (GHSA-g96c-x7rh-99r3)56 days before publication
  2. 2023-08-31Published by the CNA17:59 UTC
  3. 2024-10-01CISA SSVC decision recorded397 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-g96c-x7rh-99r3, affected packages:

PackageVulnerable versionsFixed in
Maven org.graylog2:graylog2-serverbefore 5.0.95.0.9
Maven org.graylog2:graylog2-serverfrom 5.1.0 before 5.1.35.1.3

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
graylog graylogbefore 5.0.9fixed in 5.0.9from 5.1.0 before 5.1.3fixed in 5.1.35.0.95.1.3

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources