Package: release.debian.org
Severity: normal
X-Debbugs-Cc: [email protected], [email protected], [email protected]
Control: affects -1 + src:aerc
User: [email protected]
Usertags: unblock
aerc is not blocked and it well on its way to testing. The request here is
instead to
decrease the transition delay/age it a bit.
This upload fixes CVE-2025-49466 and security team recommended me to file a bug
to speed up migration.
The CVE is not mentioned in the changelog because at the time of upload it was
known only to the
security team and the package maintainers.
[ Reason ]
Fix for Path Injection Vulnerability CVE-2025-49466
[ Impact ]
The package will have a CVE in stable
[ Tests ]
This package has non-trivial autopkgtests which are passing
[ Risks ]
Only a fix for CVE with a small patch and minimal risks
[ Checklist ]
[x] all changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in testing
unblock aerc/0.20.0-2
diff -Nru aerc-0.20.0/debian/changelog aerc-0.20.0/debian/changelog
--- aerc-0.20.0/debian/changelog 2025-01-25 20:59:25.000000000 +0000
+++ aerc-0.20.0/debian/changelog 2025-05-31 17:39:24.000000000 +0000
@@ -1,3 +1,9 @@
+aerc (0.20.0-2) unstable; urgency=medium
+
+ * Add patch to fix temp file creation
+
+ -- Nilesh Patra <[email protected]> Sat, 31 May 2025 23:09:24 +0530
+
aerc (0.20.0-1) unstable; urgency=medium
* New upstream version 0.20.0
diff -Nru aerc-0.20.0/debian/patches/fix-blhc.patch
aerc-0.20.0/debian/patches/fix-blhc.patch
--- aerc-0.20.0/debian/patches/fix-blhc.patch 2024-02-24 21:50:47.000000000
+0000
+++ aerc-0.20.0/debian/patches/fix-blhc.patch 2025-05-31 17:39:24.000000000
+0000
@@ -1,6 +1,6 @@
--- a/GNUmakefile
+++ b/GNUmakefile
-@@ -155,7 +155,7 @@
+@@ -162,7 +162,7 @@
define install_filter
ifneq ($(wildcard filters/$1.c),)
$1: filters/$1.c
diff -Nru aerc-0.20.0/debian/patches/fix-temp-file-creation.patch
aerc-0.20.0/debian/patches/fix-temp-file-creation.patch
--- aerc-0.20.0/debian/patches/fix-temp-file-creation.patch 1970-01-01
00:00:00.000000000 +0000
+++ aerc-0.20.0/debian/patches/fix-temp-file-creation.patch 2025-05-31
17:39:24.000000000 +0000
@@ -0,0 +1,22 @@
+--- a/commands/msgview/open.go
++++ b/commands/msgview/open.go
+@@ -5,6 +5,7 @@
+ "io"
+ "mime"
+ "os"
++ "path"
+ "path/filepath"
+
+ "git.sr.ht/~rjarry/aerc/app"
+@@ -56,9 +57,9 @@
+ app.PushError(err.Error())
+ return
+ }
+- filename := part.FileName()
++ filename := path.Base(part.FileName())
+ var tmpFile *os.File
+- if filename == "" {
++ if filename == "." {
+ extension := ""
+ if exts, _ := mime.ExtensionsByType(mimeType);
len(exts) > 0 {
+ extension = exts[0]
diff -Nru aerc-0.20.0/debian/patches/series aerc-0.20.0/debian/patches/series
--- aerc-0.20.0/debian/patches/series 2025-01-15 21:29:37.000000000 +0000
+++ aerc-0.20.0/debian/patches/series 2025-05-31 17:38:47.000000000 +0000
@@ -1 +1,2 @@
fix-blhc.patch
+fix-temp-file-creation.patch