CVE-2023-41045

Insecure source port usage for DNS queries in Graylog

MEDIUM
5.3
CVSS Score
Published: August 31, 2023 at 05:59 PM UTC
Updated: June 17, 2026 at 06:20 AM UTC
2 products affected across 2 vendorsGraylogGRAYLOG2 Server

Using graylog2-server by Graylog2?

Get instant alerts when new vulnerabilities affect graylog2-server - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 0.4%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.0.95.1.0 ≤ v < 5.1.3
Affected range stops below 5.0.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.1.3, so it looks safe — our inference, not a vendor statement
v < 5.0.9v < 5.1.3
Affected range stops below 5.0.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.1.3, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-345

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card