package/strongswan: fix patch header
PATCH 1/1 package/strongswan: fix patch header
Commit [1] introduced a patch to fix CVE-2025-62291. Since [2] the security patches neeed to reference the vulnerability with the CVE: trailer in the patch header.
[1] b009935e27 package/strongswan: add patch to fix CVE-2025-62291
[2] 1167d0ff3d docs/manual: mention CVE trailer
--- package/strongswan/0001-eap_mschapv2_failure_request_len.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/strongswan/0001-eap_mschapv2_failure_request_len.patch +1 -1
@@ -21,7 +21,7 @@ Ubuntu), the compiler will use __memcpy_chk(), which prevents that buffer overflow and causes the daemon to get aborted immediately instead. Fixes: f98cdf7a4765 ("adding plugin for EAP-MS-CHAPv2") -Fixes: CVE-2025-62291 +CVE: CVE-2025-62291 Upstream: https://github.com/strongswan/strongswan/commit/c687ada6a6f68913651e355fd09f906893096b32 Signed-off-by: Waldemar Brodkorb <[email protected]> ---
Signature · 6 lines
2.52.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Thomas,
Quoted 3 lines · Thomas Perale via buildroot
Commit [1] introduced a patch to fix CVE-2025-62291. Since [2] the security patches neeed to reference the vulnerability with the
CVE:trailer in the patch header.
Good to know! I was confused for a bit why this didn't make it into the deployed nightly manual yet... but i think that's because the nightly manual redirects to the stable manual currently?
At least https://nightly.buildroot.org/manual.html doesn't have this information yet.
Quoted 14 lines
[1]
b009935e27package/strongswan: add patch to fix CVE-2025-62291
[2]1167d0ff3ddocs/manual: mention CVE trailerSigned-off-by Thomas Perale <[email protected]>--- package/strongswan/0001-eap_mschapv2_failure_request_len.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/strongswan/0001-eap_mschapv2_failure_request_len.patch +0
-0
package/strongswan/0001-eap_mschapv2_failure_request_len.patch Ubuntu), the compiler will use __memcpy_chk(), which prevents that buffer · line 24
Quoted 5 lines
package/strongswan/0001-eap_mschapv2_failure_request_len.patch +1
-1@@ -21,7 +21,7 @@ Ubuntu), the compiler will use __memcpy_chk(), which prevents that buffer overflow and causes the daemon to get aborted immediately instead. Fixes: f98cdf7a4765 ("adding plugin for EAP-MS-CHAPv2") -Fixes: CVE-2025-62291 +CVE: CVE-2025-62291
The Fixes: line is actually from the patch as taken from upstream [1], I wonder if we'd want to keep that intact and put our own metadata below it? But that would also look a bit weird I guess. Thoughts?
package/strongswan/0001-eap_mschapv2_failure_request_len.patch Ubuntu), the compiler will use __memcpy_chk(), which prevents that buffer · line 27
Quoted 3 lines
package/strongswan/0001-eap_mschapv2_failure_request_len.patch +0
-0Upstream: https://github.com/strongswan/strongswan/commit/c687ada6a6f68913651e355fd09f906893096b32 Signed-off-by: Waldemar Brodkorb <[email protected]> ---
Marcus
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Marcus,
In reply of:
Quoted 10 lines
Hi Thomas,
Quoted 3 lines · Thomas Perale via buildroot
Commit [1] introduced a patch to fix CVE-2025-62291. Since [2] the security patches neeed to reference the vulnerability with the
CVE:trailer in the patch header.Good to know! I was confused for a bit why this didn't make it into the deployed nightly manual yet... but i think that's because the nightly manual redirects to the stable manual currently?
At least https://nightly.buildroot.org/manual.html doesn't have this information yet.
Unfortunately it's not checked with 'check-package' yet. Because I need both the context of the '.mk' and the patch to have a rule to check this in check-package it's not trivial to add a check :/
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
[1]
b009935e27package/strongswan: add patch to fix CVE-2025-62291[2]
1167d0ff3ddocs/manual: mention CVE trailerQuoted 1 line
Signed-off-by Thomas Perale <[email protected]>--- package/strongswan/0001-eap_mschapv2_failure_request_len.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 11 lines
package/strongswan/0001-eap_mschapv2_failure_request_len.patch Ubuntu), the compiler will use __memcpy_chk(), which prevents that buffer · line 23
Quoted 9 lines
package/strongswan/0001-eap_mschapv2_failure_request_len.patch
Quoted 1 line
package/strongswan/0001-eap_mschapv2_failure_request_len.patch +0
-0index
8442cc7816..7442c123c4100644package/strongswan/0001-eap_mschapv2_failure_request_len.patch +1
-1@@ -21,7 +21,7 @@ Ubuntu), the compiler will use __memcpy_chk(), which prevents that buffer overflow and causes the daemon to get aborted immediately instead. > Fixes: f98cdf7a4765 ("adding plugin for EAP-MS-CHAPv2") -Fixes: CVE-2025-62291 +CVE: CVE-2025-62291The Fixes: line is actually from the patch as taken from upstream [1], I wonder if we'd want to keep that intact and put our own metadata below it? But that would also look a bit weird I guess. Thoughts?
Personally, for the patch I send to Buildroot I tend to remove some useless tags sometime.
Quoted 11 lines
package/strongswan/0001-eap_mschapv2_failure_request_len.patch Ubuntu), the compiler will use __memcpy_chk(), which prevents that buffer · line 27
Quoted 3 lines
package/strongswan/0001-eap_mschapv2_failure_request_len.patch +0
-0Upstream: https://github.com/strongswan/strongswan/commit/c687ada6a6f68913651e355fd09f906893096b32 Signed-off-by: Waldemar Brodkorb <[email protected]> ---Marcus
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Marcus Hoffmann via buildroot
AppliedQuoted 9 lines · Thomas Perale via buildroot
Commit [1] introduced a patch to fix CVE-2025-62291. Since [2] the security patches neeed to reference the vulnerability with the
CVE:trailer in the patch header.[1]
b009935e27package/strongswan: add patch to fix CVE-2025-62291
[2]1167d0ff3ddocs/manual: mention CVE trailerSigned-off-by Thomas Perale <[email protected]>---
Applied to master, thanks!
Marcus
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Perale via buildroot
AppliedIn reply of:
Quoted 8 lines
Commit [1] introduced a patch to fix CVE-2025-62291. Since [2] the security patches neeed to reference the vulnerability with the
CVE:trailer in the patch header.[1]
b009935e27package/strongswan: add patch to fix CVE-2025-62291
[2]1167d0ff3ddocs/manual: mention CVE trailerSigned-off-by Thomas Perale <[email protected]>
Applied to 2025.02.x & 2025.11.x. Thanks
Quoted 24 lines
--- package/strongswan/0001-eap_mschapv2_failure_request_len.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/strongswan/0001-eap_mschapv2_failure_request_len.patch +1
-1@@ -21,7 +21,7 @@ Ubuntu), the compiler will use __memcpy_chk(), which prevents that buffer overflow and causes the daemon to get aborted immediately instead. Fixes: f98cdf7a4765 ("adding plugin for EAP-MS-CHAPv2") -Fixes: CVE-2025-62291 +CVE: CVE-2025-62291 Upstream: https://github.com/strongswan/strongswan/commit/c687ada6a6f68913651e355fd09f906893096b32 Signed-off-by: Waldemar Brodkorb <[email protected]> ---Signature · 6 lines
2.52.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot