Why the upstream version misleads#
A scanner that reads OpenSSL 3.0.13 and knows that upstream fixed CVE-2024-4741 in 3.0.14 will flag every Ubuntu 24.04 host. The upstream OpenSSL changelog at the 3.0.14 tag lists the fix under "Changes between 3.0.13 and 3.0.14 [4 Jun 2024]": "Fixed potential use after free after SSL_free_buffers() is called."
Ubuntu never moved its release to 3.0.14. The Ubuntu security documentation on version banners explains why: "security patches and bug fixes will be backported to the particular version that was available when the Ubuntu release in question was first published." It names the consequence for scanners: "If a scanner were to rely on the upstream or a heuristically-guessed version, such as 9.6p1, it would not be able to differentiate between the various Ubuntu patch levels ... and would likely produce a large number of false positives."
Read the package version, not the library banner#
On the Ubuntu 24.04.5 host used for this guide, the library reports the upstream version, and the package manager reports the full one:
$ openssl version
OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024)
$ dpkg -s libssl3t64 | grep -E '^(Package|Status|Source|Version)'
Package: libssl3t64
Status: install ok installed
Source: openssl
Version: 3.0.13-0ubuntu3.16
$ apt-cache policy libssl3t64
libssl3t64:
Installed: 3.0.13-0ubuntu3.16
Candidate: 3.0.13-0ubuntu3.16
Version table:
*** 3.0.13-0ubuntu3.16 500
500 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
100 /var/lib/dpkg/status
3.0.13-0ubuntu3 500
500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
The -0ubuntu3.16 suffix is the Ubuntu revision. apt-cache policy also shows the installed version is the one published in noble-security, so the host is current with the security pocket. The Source: openssl line names the source package, which is the unit that both the changelog and Ubuntu's vulnerability data use.
Find the CVE in the changelog#
Ubuntu packages ship their changelog under /usr/share/doc/<package>/ (minimized images may omit that directory). The entry for this CVE:
$ zcat /usr/share/doc/libssl3t64/changelog.Debian.gz | grep -nw -B1 -A3 'SECURITY UPDATE: use after free with SSL_free_buffers'
306- - CVE-2024-4603
307: * SECURITY UPDATE: use after free with SSL_free_buffers
308- - debian/patches/CVE-2024-4741.patch: only free the read buffers if
309- we're not using them in ssl/record/rec_layer_s3.c,
310- ssl/record/record.h, ssl/ssl_lib.c.
$ zcat /usr/share/doc/libssl3t64/changelog.Debian.gz | sed -n 295p
openssl (3.0.13-0ubuntu3.2) noble-security; urgency=medium
The nearest entry header above line 307 is line 295, so the patch arrived in 3.0.13-0ubuntu3.2. Ubuntu's machine-readable record agrees. The Ubuntu OSV file for CVE-2024-4741 has this range for the Ubuntu:24.04:LTS ecosystem and the openssl source package, covering the binaries libssl3t64 and openssl:
"ranges": [{ "type": "ECOSYSTEM", "events": [{ "introduced": "0" }, { "fixed": "3.0.13-0ubuntu3.2" }] }]
The installed version is compared with that value using the package manager's own ordering, not string comparison:
$ dpkg --compare-versions 3.0.13-0ubuntu3.16 ge 3.0.13-0ubuntu3.2 && echo ge
ge
The scanner's finding is a false positive for this host. Record the three facts that close it: the installed package version, the distribution's fixed version, and the changelog line.
Use grep -w for the search. On the same host, grep -c CVE-2025-1149 in the binutils changelog returned 2, both from CVE-2025-11494. grep -cw CVE-2025-1149 returned 0.
A CVE missing from the changelog is not settled yet#
Of the 37 CVE identifiers in OpenSSL's upstream 3.0 changelog for releases after 3.0.13 (read at tag openssl-3.0.22), 36 appear in this host's changelog. The missing one is CVE-2025-9232. Absence alone does not decide it; the distribution's status does.
For that CVE, Ubuntu's VEX document marks pkg:deb/ubuntu/libssl3t64@3.0.13-0ubuntu3.16?arch=amd64&distro=noble as not_affected with the justification vulnerable_code_not_present, and its notes say "Older 3.0.x in noble and earlier don't contain the vulnerable commit." Ubuntu's OSV record for the CVE carries the upstream description: "The vulnerable code was introduced in the following patch releases: 3.0.16, 3.1.8, 3.2.4, 3.3.3, 3.4.0 and 3.5.0." Here the absence is a second kind of false positive, and the evidence is the VEX statement, not the changelog.
The reverse case is a real finding. binutils 2.42-4ubuntu2.10 is installed on the same host, and CVE-2025-1149 is not in its changelog. Ubuntu's VEX document for CVE-2025-1149 marks the noble package affected:
"status": "affected",
"action_statement": "This package (for the given release) is vulnerable to the CVE, the problem is understood, but the Ubuntu Security Team decided to not fix it. CVE Notes / justification: binutils isn't safe for untrusted inputs. As mentioned in the description, backporting this fix has a high chance of causing regressions. ..."
Its OSV counterpart has only "introduced": "0" for Ubuntu:24.04:LTS, with no fixed event. The Ubuntu OSV documentation explains the shape: both ignored and deferred are "Listed under affected and fixed is not set." It defines ignored as "The Ubuntu Security Team isn't going to patch this vulnerability" and deferred as "the source package is known to be vulnerable but there is no fix available upstream."
No upgrade will clear this one. The scanner is right, and the decision moves to your use of the package: binutils running a build of your own sources is a different exposure from a service that runs ld or objdump on files users upload. If you do the second, remove that path or ship a patched build yourself.
Decide from the distribution's record#
| What the scanner says | Evidence to collect | Decision |
|---|---|---|
| CVE fixed upstream in a later version than the banner shows | dpkg -s version, the distribution's fixed version, the changelog line | Dismiss when installed ge fixed; record all three |
| Same, but the host is behind the security pocket | apt-cache policy showing a newer candidate | Upgrade the package; restart services that load the library |
CVE absent from the changelog, distribution says not_affected | The VEX or OSV status and its justification note | Dismiss with that record |
| CVE absent from the changelog, distribution says ignored or deferred | The VEX action_statement or OSV range with no fixed event | Keep the finding; reduce exposure or patch it yourself |
| CVE absent, no distribution record yet | The distribution's tracker status, later | Collect that fact before deciding; it is the deciding evidence |
The same banner problem appears inside container images, which the container image review guide covers. When a supplier rather than the distribution asserts not_affected, the guide to VEX not_affected statements covers what should back it.