Vulnerability · Published May 7, 2025 · Assigned by GitHub_M
CVE-2024-47619tranport: TLS host name wildcard matching too lax
High 7.5
In plain English
A high-severity improper certificate validation in syslog-ng from syslog-ng. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
syslog-ng is an enhanced log daemo. Prior to version 4.8.2, `tls_wildcard_match()` matches on certificates such as `foo.*.bar` although that is not allowed. It is also possible to pass partial wildcards such as `foo.a*c.bar` which glib matches but should be avoided / invalidated. This issue could have an impact on TLS connections, such as in man-in-the-middle situations. Version 4.8.2 contains a fix for the issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | syslog-ng | 3.38.1-5+deb12u1 | DEBIAN-CVE-2024-47619 |
| Debian:13 | syslog-ng | 4.8.1-5 | DEBIAN-CVE-2024-47619 |
| Debian:14 | syslog-ng | 4.8.1-5 | DEBIAN-CVE-2024-47619 |
| Ubuntu:22.04:LTS | syslog-ng | no fix listed | UBUNTU-CVE-2024-47619 |
| Ubuntu:24.04:LTS | syslog-ng | no fix listed | UBUNTU-CVE-2024-47619 |
| Ubuntu:25.10 | syslog-ng | no fix listed | UBUNTU-CVE-2024-47619 |
| Ubuntu:26.04:LTS | syslog-ng | no fix listed | UBUNTU-CVE-2024-47619 |
| Ubuntu:26.10 | syslog-ng | no fix listed | UBUNTU-CVE-2024-47619 |
Affected products (as reported)
Weakness: CWE-295 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/syslog-ng/syslog-ng/security/advisories/GHSA-xr54-gx74-fghg x_refsource_CONFIRM
- https://github.com/syslog-ng/syslog-ng/commit/dadfdbecde5bfe710b0a6ee5699f96926b3f9006 x_refsource_MISC
- https://github.com/syslog-ng/syslog-ng/blob/b0ccc8952d333fbc2d97e51fddc0b569a15e7a7d/lib/transport/tls-verifier.c#L78-L110 x_refsource_MISC
- https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.8.2 x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/05/msg00034.html