Skip to contentSkip to conversation

linuxptp: ignore CVE-2024-42861

PATCH New Gyorgy Sarvari 1 participant 3 messages Nov 15, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 linuxptp: ignore CVE-2024-42861

Details: https://nvd.nist.gov/vuln/detail/CVE-2024-42861

The vulnerability report is considered to be bogus and a non-issue (or at least not a security issue) by upstream[1] and by major Linux distros[2][3][4].

[1]: https://lists.nwtime.org/sympa/arc/linuxptp-devel/2024-09/msg00080.html
[2]: Ubuntu: https://ubuntu.com/security/CVE-2024-42861
[3]: Debian: https://security-tracker.debian.org/tracker/CVE-2024-42861
[4]: Suse: https://bugzilla.suse.com/show_bug.cgi?id=1230935

---
 meta-oe/recipes-connectivity/linuxptp/linuxptp_4.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-connectivity/linuxptp/linuxptp_4.1.bb +2 -0
index 9a5c9b5204..d7d90bba25 100644
@@ -60,3 +60,5 @@ SYSTEMD_AUTO_ENABLE:${PN} = "disable"
 PACKAGES =+ "${PN}-configs"
 
 FILES:${PN}-configs += "${docdir}"
+
+CVE_STATUS[2024-42861] = "disputed: Considered to be bogus by upstream and major distros"
#1 lore raw

PATCH 2/3 proftpd: set status of CVE-2001-0027

From: Peter Marko <[email protected]>

This ancient CVE [1] is unversioned ("*") in NVD DB. "mod_sqlpw module in ProFTPD does not reset a cached password..."

Looking at history and changelog, the module was removed [2] around the time when this CVE was published, likely as reaction to this CVE. "mod_sqlpw.c, mod_mysql.c and mod_pgsql.c have been REMOVED from the distribution. They are currently unmaintained and have numerous bugs."

Note: It was later re-introduced as mod_sql when it got fixed under new maintainer.

[1] https://nvd.nist.gov/vuln/detail/CVE-2001-0027
[2] https://github.com/proftpd/proftpd/blob/v1.3.8b/NEWS#L3362

(cherry picked from commit 03a1b56bc7ce88a3b0ad6790606b0498899cc1e3)
---
 meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb +2 -0
index ec38fb54e1..2488c30d53 100644
@@ -23,6 +23,8 @@ S = "${WORKDIR}/git"
 
 inherit autotools-brokensep useradd update-rc.d systemd multilib_script
 
+CVE_STATUS[CVE-2001-0027] = "fixed-version: version 1.2.0rc3 removed affected module"
+
 EXTRA_OECONF += "--enable-largefile"
 
 PACKAGECONFIG ??= "shadow \
#2 lore raw

PATCH 3/3 rtmpdump: mark CVE-2015-8270, CVE-2015-8271 and CVE-2015-8272 as fixed

In reply to Gyorgy Sarvari

From: Peter Marko <[email protected]>

This CVE is marked as fixed by Debian.
Extracting Debian jessie Debian sources [1] shows 4 commits uses for backports. All these commits are already included in current hash ([2]-[5]).

../tmp/work/core2-64-poky-linux/rtmpdump/2.4/git$ git log | grep 'commit \(10b580aabcec1621b25518271ba1ab2b018be88e\|...\|4312322107a94c81d3ec5b98f91bc6b923551dc5\)' commit 530f9bb2a02a78c1198fb2bf0293a12d225e4691
commit 4312322107a94c81d3ec5b98f91bc6b923551dc5
commit 39ec7eda489717d503bc4cbfaa591c93205695b6
commit 10b580aabcec1621b25518271ba1ab2b018be88e

[1] https://snapshot.debian.org/archive/debian/20170704T094954Z/pool/main/r/rtmpdump/rtmpdump_2.4%2B20150115.gita107cef-1%2Bdeb8u1.debian.tar.xz
[2] https://git.ffmpeg.org/gitweb/rtmpdump.git/commitdiff/10b580aabcec1621b25518271ba1ab2b018be88e
[3] https://git.ffmpeg.org/gitweb/rtmpdump.git/commitdiff/39ec7eda489717d503bc4cbfaa591c93205695b6
[4] https://git.ffmpeg.org/gitweb/rtmpdump.git/commitdiff/530f9bb2a02a78c1198fb2bf0293a12d225e4691
[5] https://git.ffmpeg.org/gitweb/rtmpdump.git/commitdiff/4312322107a94c81d3ec5b98f91bc6b923551dc5

(cherry picked from commit d7758a8d0cf509e2d8db941ca4fd855c39beaafb)

I performed the above has verification successfully with the Scarthgap recipe's revision.

---
 meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb +4 -0
index aa92c58808..47d04af9c1 100644
@@ -14,6 +14,10 @@ SRC_URI = " \
 
 S = "${WORKDIR}/git"
 
+CVE_STATUS_GROUPS += "CVES_2015"
+CVES_2015 = "CVE-2015-8270 CVE-2015-8271 CVE-2015-8272"
+CVES_2015[status] = "fixed-version: patched in current git hash"
+
 inherit autotools-brokensep
 
 EXTRA_OEMAKE = " \