ez-ipupdate: patch CVE-2003-0887
PATCH 1/3 ez-ipupdate: patch CVE-2003-0887
Details: https://nvd.nist.gov/vuln/detail/CVE-2003-0887
The vulnerability is about the default (example) configurations, which place cache files into the /tmp folder, that is world-writeable. The recommendation would be to place them to a more secure folder.
The recipe however does not install these example configurations, and as such it is not vulnerable either.
Just to make sure, patch these folders to a non-tmp folder (and also install that folder, empty).
Some more discussion about the vulnerability:
https://bugzilla.suse.com/show_bug.cgi?id=48161
--- .../ez-ipupdate/ez-ipupdate_3.0.11b7.bb | 7 + .../ez-ipupdate/files/CVE-2003-0887.patch | 158 ++++++++++++++++++ 2 files changed, 165 insertions(+) create mode 100644 meta-networking/recipes-connectivity/ez-ipupdate/files/CVE-2003-0887.patch
meta-networking/recipes-connectivity/ez-ipupdate/ez-ipupdate_3.0.11b7.bb +7 -0
@@ -10,8 +10,15 @@ SRC_URI = "http://sourceforge.net/projects/ez-ipupdate/files/${BPN}/${PV}/${BPN} file://conf_file.c.patch \ file://wformat.patch \ file://0001-ez-ipupdate-Include-time.h-for-time-API-prototype.patch \ + file://CVE-2003-0887.patch \ " SRC_URI[md5sum] = "525be4550b4461fdf105aed8e753b020" SRC_URI[sha256sum] = "a15ec0dc0b78ec7578360987c68e43a67bc8d3591cbf528a323588830ae22c20" inherit autotools pkgconfig + +do_install:append(){ + install -m 0744 -d ${D}${localstatedir}/lib/ez-ipupdate +} + +FILES:${PN} += "${localstatedir}/lib/ez-ipupdate"
meta-networking/recipes-connectivity/ez-ipupdate/files/CVE-2003-0887.patch new file +158 -0
158 lines not on this page · raw message
PATCH 2/3 fontforge: patch CVE-2025-15270
Details: https://nvd.nist.gov/vuln/detail/CVE-2025-15270
Pick the patch that mentions this vulnerbaility explicitly in its description.
--- .../fontforge/fontforge/CVE-2025-15270.patch | 45 +++++++++++++++++++ .../fontforge/fontforge_20251009.bb | 1 + 2 files changed, 46 insertions(+) create mode 100644 meta-oe/recipes-graphics/fontforge/fontforge/CVE-2025-15270.patch
meta-oe/recipes-graphics/fontforge/fontforge/CVE-2025-15270.patch new file +45 -0
@@ -0,0 +1,45 @@ +From 99067ccd695619686646905e637993f0654abb41 Mon Sep 17 00:00:00 2001 +From: Gyorgy Sarvari <[email protected]> +Date: Sat, 31 Jan 2026 21:23:41 +0100 +Subject: [PATCH] Fix CVE-2025-15270: Heap buffer overflow in SFD kern class + parsing (#5743) + +From: Ahmet Furkan Kavraz <[email protected]> + +Fixes: CVE-2025-15270 | ZDI-25-1194 | ZDI-CAN-28563 + +Co-authored-by: Ahmet Furkan Kavraz <[email protected]> + +CVE: CVE-2025-15270 +Upstream-Status: Backport [https://github.com/fontforge/fontforge/commit/d01333a5bfa2ac4ed698c24b323d02107deacad7] +Signed-off-by: Gyorgy Sarvari <[email protected]> +--- + fontforge/sfd.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/fontforge/sfd.c b/fontforge/sfd.c +index be4220515..d550f02fb 100644 +--- a/fontforge/sfd.c ++++ b/fontforge/sfd.c +@@ -8147,6 +8147,10 @@ bool SFD_GetFontMetaData( FILE *sfd, + for ( i=classstart; i<kc->first_cnt; ++i ) { + if (kernclassversion < 3) { + getint(sfd,&temp); ++ if (temp < 0) { ++ LogError(_("Corrupted SFD file: Invalid kern class name length %d. Aborting load."), temp); ++ return false; ++ } + kc->firsts[i] = malloc(temp+1); kc->firsts[i][temp] = '\0'; + nlgetc(sfd); /* skip space */ + fread(kc->firsts[i],1,temp,sfd); +@@ -8164,6 +8168,10 @@ bool SFD_GetFontMetaData( FILE *sfd, + for ( i=1; i<kc->second_cnt; ++i ) { + if (kernclassversion < 3) { + getint(sfd,&temp); ++ if (temp < 0) { ++ LogError(_("Corrupted SFD file: Invalid kern class name length %d. Aborting load."), temp); ++ return false; ++ } + kc->seconds[i] = malloc(temp+1); kc->seconds[i][temp] = '\0'; + nlgetc(sfd); /* skip space */ + fread(kc->seconds[i],1,temp,sfd);
meta-oe/recipes-graphics/fontforge/fontforge_20251009.bb +1 -0
@@ -22,6 +22,7 @@ SRC_URI = "git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https;tag=$ file://CVE-2025-15279-2.patch \ file://CVE-2025-15275.patch \ file://CVE-2025-15269.patch \ + file://CVE-2025-15270.patch \ " EXTRA_OECMAKE = "-DENABLE_DOCS=OFF"
PATCH 3/3 freerdp3: upgrade 3.20.2 -> 3.22.0
In reply to Gyorgy SarvariPtests passed successfully.
Dropped manpages PACKAGECONFIG: when it is enabled, it requires an executable that is compiled from the project's source, but since it is cross-compiled, it is not usable. The cmakefile also started to explicitly disable generating this tool when cross-compiling is enabled.
Since this recipe has no native counterpart, and the manpages can't be generated in this state, this option was removed.
Changes:
3.22.0:
- Complete overhaul of SDL client
- Introduction of new WINPR_ATTR_NODISCARD macro wrapping compiler or C language version specific [[nodiscard]] attributes
- Addition of WINPR_ATTR_NODISCARD to (some) public API functions so usage errors are producing warnings now
- Add some more stringify functions for logging
- CVE fixes: CVE-2026-23948, CVE-2026-24682, CVE-2026-24683, CVE-2026-24676, CVE-2026-24677, CVE-2026-24678, CVE-2026-24684, CVE-2026-24679, CVE-2026-24681, CVE-2026-24675, CVE-2026-24491, CVE-2026-24680
- [core,info] fix missing NULL check
- [gateway,tsg] fix TSG_PACKET_RESPONSE parsing
- Allow querying auth identity with kerberos when running as a server
- Sspi krb heimdal
- Tsg fix idleTimeout parsing
- [channels,smartcard] revert 649f7de
- [crypto] deprecate er and der modules
- [channels,rdpei] lock full update, not only parts
- [winpr,platform] add WINPR_ATTR_NODISCARD macro
- Wlog cleanup
- new stringify functions & touch API defines
- Add support for querying SECPKG_ATTR_PACKAGE_INFO to NTLM and Kerberos
- [channels,video] measure times in ns
- [utils] Nodiscard
- Error handling fixes
- [channels,drdynvc] check pointer before reset
- Winpr api def
- [winpr,platform] drop C23 [[nodiscard]]
- [gdi] add additional checks for a valid rdpGdi
- Sdl3 high dpiv2
- peer: Disconnect if Logon() returned FALSE
- [channels,rdpecam] fix PROPERTY_DESCRIPTION parsing
- [channel,rdpsnd] only clean up thread before free
- [channels,rdpei] add RDPINPUT_CONTACT_FLAG_UP
3.21.0:
- CVE fixes: CVE-2026-23530, CVE-2026-23531, CVE-2026-23532, CVE-2026-23533, CVE-2026-23534, CVE-2026-23732, CVE-2026-23883, CVE-2026-23884
- [client,sdl] fix monitor resolution
- [codec,progressive] fix progressive_rfx_upgrade_block
- Krb cache fix
- Rdpdr improved checks
- Codec advanced length checks
- Glyph fix length checks
- Wlog printf format string checks
- [warnings,format] fix format string warnings
- Double free fixes
- [clang-tidy] clean up code warnings
---
.../freerdp/{freerdp3_3.20.2.bb => freerdp3_3.22.0.bb} | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
rename meta-oe/recipes-support/freerdp/{freerdp3_3.20.2.bb => freerdp3_3.22.0.bb} (97%)meta-oe/recipes-support/freerdp/freerdp3_3.22.0.bb renamed from meta-oe/recipes-support/freerdp/freerdp3_3.20.2.bb +1 -2
@@ -8,7 +8,7 @@ RDEPENDS:${PN}-ptest += "cmake coreutils" inherit pkgconfig cmake ptest -SRCREV = "ef106b0c5adf739085ff4e8f45ef384e5a1c7bb3" +SRCREV = "e3ef4c71138f76516299cb3637d2d0c59b2a3737" SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=master;protocol=https;tag=${PV} \ file://run-ptest"
@@ -49,7 +49,6 @@ PACKAGECONFIG[gstreamer] = "-DWITH_GSTREAMER_1_0=ON,-DWITH_GSTREAMER_1_0=OFF,gst PACKAGECONFIG[cups] = "-DWITH_CUPS=ON,-DWITH_CUPS=OFF,cups" PACKAGECONFIG[fuse] = "-DWITH_FUSE=ON,-DWITH_FUSE=OFF,fuse3,fuse3" PACKAGECONFIG[pcsc] = "-DWITH_PCSC=ON,-DWITH_PCSC=OFF,pcsc-lite" -PACKAGECONFIG[manpages] = "-DWITH_MANPAGES=ON,-DWITH_MANPAGES=OFF, libxslt-native docbook-xsl-stylesheets-native" PACKAGECONFIG[ffmpeg] = "-DWITH_DSP_FFMPEG=ON -DWITH_FFMPEG=ON -DWITH_SWSCALE=ON, -DWITH_DSP_FFMPEG=OFF -DWITH_FFMPEG=OFF -DWITH_SWSCALE=OFF,ffmpeg" PACKAGECONFIG[krb5] = "-DWITH_KRB5=ON -DWITH_KRB5_NO_NTLM_FALLBACK=OFF,-DWITH_KRB5=OFF,krb5" PACKAGECONFIG[openh264] = "-DWITH_OPENH264=ON,-DWITH_OPENH264=OFF,openh264"
Re: [oe] [meta-oe][PATCH 3/3] freerdp3: upgrade 3.20.2 -> 3.22.0
Quoted 3 lines · Gyorgy Sarvari via lists.openembedded.org
Dropped manpages PACKAGECONFIG: when it is enabled, it requires an executable that is compiled from the project's source, but since it is cross-compiled, it is not usable.
This fails for me with:
| CMake Error at client/common/man/CMakeLists.txt:27 (add_custom_target): | Error evaluating generator expression: | | $<TARGET_FILE:generate_argument_manpage> | | No target "generate_argument_manpage" | | | CMake Error at client/common/man/CMakeLists.txt:23 (add_custom_command): | Error evaluating generator expression: | | $<TARGET_FILE:generate_argument_manpage> | | No target "generate_argument_manpage" | | | CMake Error at client/common/man/CMakeLists.txt:27 (add_custom_target): | Error evaluating generator expression: | | $<TARGET_FILE:generate_argument_manpage> | | No target "generate_argument_manpage" | | | CMake Error at client/common/man/CMakeLists.txt:23 (add_custom_command): | Error evaluating generator expression: | | $<TARGET_FILE:generate_argument_manpage> | | No target "generate_argument_manpage" | | | CMake Error at client/common/man/CMakeLists.txt:27 (add_custom_target): | Error evaluating generator expression: | | $<TARGET_FILE:generate_argument_manpage> | | No target "generate_argument_manpage" | | | CMake Error at client/common/man/CMakeLists.txt:23 (add_custom_command): | Error evaluating generator expression: | | $<TARGET_FILE:generate_argument_manpage> | | No target "generate_argument_manpage"
Explicitly adding EXTRA_OECMAKE += "-DWITH_MANPAGES=OFF" solves the issue
Re: [oe] [meta-oe][PATCH 3/3] freerdp3: upgrade 3.20.2 -> 3.22.0
Quoted 57 lines · Markus Volk
Quoted 3 lines · Gyorgy Sarvari via lists.openembedded.org
Dropped manpages PACKAGECONFIG: when it is enabled, it requires an executable that is compiled from the project's source, but since it is cross-compiled, it is not usable.
This fails for me with:
| CMake Error at client/common/man/CMakeLists.txt:27 (add_custom_target): | Error evaluating generator expression: | | $<TARGET_FILE:generate_argument_manpage> | | No target "generate_argument_manpage" | | | CMake Error at client/common/man/CMakeLists.txt:23 (add_custom_command): | Error evaluating generator expression: | | $<TARGET_FILE:generate_argument_manpage> | | No target "generate_argument_manpage" | | | CMake Error at client/common/man/CMakeLists.txt:27 (add_custom_target): | Error evaluating generator expression: | | $<TARGET_FILE:generate_argument_manpage> | | No target "generate_argument_manpage" | | | CMake Error at client/common/man/CMakeLists.txt:23 (add_custom_command): | Error evaluating generator expression: | | $<TARGET_FILE:generate_argument_manpage> | | No target "generate_argument_manpage" | | | CMake Error at client/common/man/CMakeLists.txt:27 (add_custom_target): | Error evaluating generator expression: | | $<TARGET_FILE:generate_argument_manpage> | | No target "generate_argument_manpage" | | | CMake Error at client/common/man/CMakeLists.txt:23 (add_custom_command): | Error evaluating generator expression: | | $<TARGET_FILE:generate_argument_manpage> | | No target "generate_argument_manpage"
Quoted 1 line
Explicitly adding
EXTRA_OECMAKE+= "-DWITH_MANPAGES=OFF" solves the issue
Huhh, not sure how I managed to mess this up. Thanks a lot for testing! v2 sent