Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-41045

LOW 3.7EPSS 21%

Insecure source port usage for DNS queries in Graylog

Also known as GHSA-g96c-x7rh-99r3

Mitigation

  • Upgrade org.graylog2:graylog2-server to one of 5.1.3, 5.0.9 (or later in the same release line).

Who should check

  • Projects that depend on Maven package org.graylog2:graylog2-server (>= 5.1.0, < 5.1.3)
  • Anyone running graylog2-server < 5.0.9; >= 5.1.0, < 5.1.3

Vulnerability facts

Affected
org.graylog2:graylog2-server >= 5.1.0, < 5.1.3
Fixed in
5.1.3, 5.0.9
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
3.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.35% chance of exploitation in 30 days (percentile 21, 2026-11-26)
CWE
CWE-345
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Maven org.graylog2:graylog2-server>= 5.1.0, < 5.1.35.1.3, 5.0.9osv
graylog2-server< 5.0.9; >= 5.1.0, < 5.1.3—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-41045. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-41045.md
Affected: org.graylog2:graylog2-server >= 5.1.0, < 5.1.3
Fixed in: 5.1.3, 5.0.9

Steps:
1. Search this machine and project for org.graylog2:graylog2-server (Maven), graylog2-server: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-41045 being exploited?

There is no confirmed exploitation: CVE-2023-41045 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-41045?

Low: CVSS 3.7 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2023-41045?

org.graylog2:graylog2-server >= 5.1.0, < 5.1.3.

Is there a fix for CVE-2023-41045?

Yes. Fixed in 5.1.3, 5.0.9. Upgrade org.graylog2:graylog2-server to one of 5.1.3, 5.0.9 (or later in the same release line).

How do I check if I'm affected by CVE-2023-41045?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors