rust: set CVE_STATUS for CVE-2025-5791
PATCH 1/1 rust: set CVE_STATUS for CVE-2025-5791
From: Deepesh Varatharajan <[email protected]>
As per NVD, this CVE only affects users crate
https://nvd.nist.gov/vuln/detail/CVE-2025-5791
The CVE-2025-5791 affects the users crate, which is not used in Poky build. Instead, we rely on the sysinfo crate, which provides similar functionality. As confirmed in Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=2370001#c0
The upstream Rust also does not depend on the vulnerable crate instead they also dependent on sysinfo crate. Therefore, this CVE is not applicable to our poky sources.
--- meta/recipes-devtools/rust/rust-source.inc | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/rust/rust-source.inc +1 -0
@@ -20,3 +20,4 @@ UPSTREAM_CHECK_REGEX = "rustc-(?P<pver>\d+(\.\d+)+)-src" CVE_STATUS[CVE-2024-24576] = "not-applicable-platform: Issue only applies on Windows" CVE_STATUS[CVE-2024-43402] = "not-applicable-platform: Issue only applies on Windows" +CVE_STATUS[CVE-2025-5791] = "not-applicable: Issue affects only users crate (We are not using users crate instead we use sysinfo crate)"
Signature · 1 line
2.49.0
Quoted 24 lines · Deepesh via lists.openembedded.org
From: Deepesh Varatharajan <[email protected]>
As per NVD, this CVE only affects users crate
https://nvd.nist.gov/vuln/detail/CVE-2025-5791The CVE-2025-5791 affects the users crate, which is not used in Poky build. Instead, we rely on the sysinfo crate, which provides similar functionality. As confirmed in Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=2370001#c0The upstream Rust also does not depend on the vulnerable crate instead they also dependent on sysinfo crate. Therefore, this CVE is not applicable to our poky sources.
Signed-off-by Deepesh Varatharajan <[email protected]>---
meta/recipes-devtools/rust/rust-source.inc | 1 +1 file changed, 1 insertion(+)meta/recipes-devtools/rust/rust-source.inc +0
-0@@ -20,3 +20,4 @@ UPSTREAM_CHECK_REGEX = "rustc-(?P<pver>\d+(\.\d+)+)-src"
Quoted 5 lines
CVE_STATUS[CVE-2024-24576] = "not-applicable-platform: Issue only applies on Windows"
CVE_STATUS[CVE-2024-43402] = "not-applicable-platform: Issue only applies on Windows"
+CVE_STATUS[CVE-2025-5791] = "not-applicable: Issue affects only users crate (We are not using users crate instead we use sysinfo crate)"
This threw a lot of warnings on the autobuilder, e.g.:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/43/builds/2098
Cheers,
Richard
Quoted 45 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Richard Purdie via lists.openembedded.org
Sent: Wednesday, July 23, 2025 17:35
To: [email protected]; openembedded- [email protected]
Cc: [email protected]
Subject: Re: [OE-core] [PATCH] rust: setCVE_STATUSfor CVE-2025-5791meta/recipes-
Quoted 20 lines · Deepesh via lists.openembedded.org
From: Deepesh Varatharajan <[email protected]>
As per NVD, this CVE only affects users crate
https://nvd.nist.gov/vuln/detail/CVE-2025-5791The CVE-2025-5791 affects the users crate, which is not used in Poky build. Instead, we rely on the sysinfo crate, which provides similar functionality. As confirmed in Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=2370001#c0The upstream Rust also does not depend on the vulnerable crate instead they also dependent on sysinfo crate. Therefore, this CVE is not applicable to our poky sources.
Signed-off-by Deepesh Varatharajan <[email protected]>---
meta/recipes-devtools/rust/rust-source.inc | 1 +1 file changed, 1 insertion(+)meta/recipes- renamed from meta/recipes-devtools/rust/rust-source.inc +0
-0devtools/rust/rust-source.inc
meta/recipes-devtools/rust/rust-source.inc UPSTREAM_CHECK_REGEX = "rustc-
Quoted 4 lines
index
ed15d9c763..7e100b73d9100644meta/recipes-devtools/rust/rust-source.inc +0
-0@@ -20,3 +20,4 @@ UPSTREAM_CHECK_REGEX = "rustc-(?P<pver>\d+(\.\d+)+)-src"
Quoted 2 lines
CVE_STATUS[CVE-2024-24576] = "not-applicable-platform: Issue only applies
on Windows"
Quoted 1 line
CVE_STATUS[CVE-2024-43402] = "not-applicable-platform: Issue only applies
on Windows"
Quoted 8 lines
Quoted 1 line
+CVE_STATUS[CVE-2025-5791] = "not-applicable: Issue affects only users
crate (We are not using users crate instead we use sysinfo crate)"
Quoted 1 line
This threw a lot of warnings on the autobuilder, e.g.:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/43/builds/2098
Correct would probably be "cpe-incorrect" for this case.
However since cpes for this CVE do not include rust, this would also be wrong.
https://github.com/CVEProject/cvelistV5/blob/main/cves/2025/5xxx/CVE-2025-5791.json
So setting CVE_STATUS for this CVE does not make sense.
Peter
Quoted 4 lines
Cheers,
Richard
Quoted 50 lines · Peter
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.Quoted 47 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Richard Purdie via lists.openembedded.org
Sent: Wednesday, July 23, 2025 17:35
To: [email protected]; openembedded- [email protected]
Cc: [email protected]
Subject: Re: [OE-core] [PATCH] rust: setCVE_STATUSfor CVE-2025-5791meta/recipes-
Quoted 20 lines · Deepesh via lists.openembedded.org
From: Deepesh Varatharajan <[email protected]>
As per NVD, this CVE only affects users crate
https://nvd.nist.gov/vuln/detail/CVE-2025-5791The CVE-2025-5791 affects the users crate, which is not used in Poky build. Instead, we rely on the sysinfo crate, which provides similar functionality. As confirmed in Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=2370001#c0The upstream Rust also does not depend on the vulnerable crate instead they also dependent on sysinfo crate. Therefore, this CVE is not applicable to our poky sources.
Signed-off-by Deepesh Varatharajan <[email protected]>--- meta/recipes-devtools/rust/rust-source.inc | 1 + 1 file changed, 1 insertion(+)meta/recipes- renamed from meta/recipes-devtools/rust/rust-source.inc +0
-0devtools/rust/rust-source.inc
meta/recipes-devtools/rust/rust-source.inc UPSTREAM_CHECK_REGEX = "rustc-
Quoted 4 lines
index
ed15d9c763..7e100b73d9100644meta/recipes-devtools/rust/rust-source.inc +0
-0@@ -20,3 +20,4 @@ UPSTREAM_CHECK_REGEX = "rustc-(?P<pver>\d+(\.\d+)+)-src"
meta/recipes-devtools/rust/rust-source.inc UPSTREAM_CHECK_REGEX = "rustc- · line 20
Quoted 1 line
meta/recipes-devtools/rust/rust-source.inc +0
-0CVE_STATUS[CVE-2024-24576] = "not-applicable-platform: Issue only applieson Windows"
meta/recipes-devtools/rust/rust-source.inc UPSTREAM_CHECK_REGEX = "rustc- · line 21
Quoted 1 line
meta/recipes-devtools/rust/rust-source.inc +0
-0CVE_STATUS[CVE-2024-43402] = "not-applicable-platform: Issue only applieson Windows"
meta/recipes-devtools/rust/rust-source.inc UPSTREAM_CHECK_REGEX = "rustc- · line 22
Quoted 1 line
meta/recipes-devtools/rust/rust-source.inc +1
-0+CVE_STATUS[CVE-2025-5791] = "not-applicable: Issue affects only userscrate (We are not using users crate instead we use sysinfo crate)"
This threw a lot of warnings on the autobuilder, e.g.:
Quoted 7 lines
Correct would probably be "cpe-incorrect" for this case.
However since cpes for this CVE do not include rust, this would also be wrong.
https://github.com/CVEProject/cvelistV5/blob/main/cves/2025/5xxx/CVE-2025-5791.json
So settingCVE_STATUSfor this CVE does not make sense.Peter
Sure Peter, thanks for the feedback . Will ignore this CVE.
Regards,
Deepesh
Quoted 3 lines
Quoted 3 lines
Cheers,
Richard