Security mailing lists by PureSourceCode

CVE-2023-41045

MEDIUM 5.3CVSS 3.1

Graylog vulnerable to insecure source port usage for DNS queries

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.

Published
31 Aug 2023
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-345
Also known as
GHSA-g96c-x7rh-99r3
Sources
NVDJSONOSV GHSA-g96c-x7rh-99r3JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD graylog graylog
cpe:2.3:a:graylog:graylog:*:*:*:*:*:*:*:*
< 5.0.9 5.0.9
NVD graylog graylog
cpe:2.3:a:graylog:graylog:*:*:*:*:*:*:*:*
>= 5.1.0, < 5.1.3 5.1.3
OSV Maven org.graylog2:graylog2-server >= 5.1.0, < 5.1.3 5.1.3
OSV Maven org.graylog2:graylog2-server < 5.0.9 5.0.9

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 31 Aug 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Jul 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.