Hello LTS Team!
radsecproxy 1.9.2 in Bookworm has a potential RCE and one other security
issue:
1) Heap OOB read/write in MS-MPPE key re-encryption (CVSS 6.8):
https://security-tracker.debian.org/tracker/CVE-2026-104201
https://github.com/radsecproxy/radsecproxy/security/advisories/GHSA-wj29-mxmc-q98c
2) Remote crash from an empty Vendor-Specific attribute in rewrite rules
(CVSS 7.5):
https://security-tracker.debian.org/tracker/TEMP-1154013-788E86
https://github.com/radsecproxy/radsecproxy/security/advisories/GHSA-mf4w-p52g-j253
I have prepared a package here:
https://mentors.debian.net/debian/pool/main/r/radsecproxy/radsecproxy_1.9.2-2+deb12u1.dsc
radsecproxy (1.9.2-2+deb12u1) bookworm-security; urgency=medium
* Import patch to fix ms-mppe alignment check (GHSA-wj29-mxmc-q98c)
https://github.com/radsecproxy/radsecproxy/security/advisories/GHSA-wj29-mxmc-q98c
https://github.com/radsecproxy/radsecproxy/commit/9256b4a78ad6b14d97f80a0e749c66d97e46d5e1
* Import patches to fix Remote crash from an empty Vendor-Specific
attribute in rewrite rules (GHSA-mf4w-p52g-j253)
https://github.com/radsecproxy/radsecproxy/security/advisories/GHSA-mf4w-p52g-j253
https://github.com/radsecproxy/radsecproxy/commit/f6c2f5469fe4f2f48e748f4de413f9a7cbfc130d
https://github.com/radsecproxy/radsecproxy/commit/c5a9be5adadebac299df5b60ec6d2cfbb234d4e1
The debdiff is attached.
Grüße,
Sven.
diff -Nru radsecproxy-1.9.2/debian/changelog radsecproxy-1.9.2/debian/changelog
--- radsecproxy-1.9.2/debian/changelog 2023-03-06 16:39:08.000000000 +0100
+++ radsecproxy-1.9.2/debian/changelog 2026-09-25 20:49:14.000000000 +0200
@@ -1,9 +1,22 @@
+radsecproxy (1.9.2-2+deb12u1) bookworm-security; urgency=medium
+
+ * Import patch to fix ms-mppe alignment check (GHSA-wj29-mxmc-q98c)
+
https://github.com/radsecproxy/radsecproxy/security/advisories/GHSA-wj29-mxmc-q98c
+
https://github.com/radsecproxy/radsecproxy/commit/9256b4a78ad6b14d97f80a0e749c66d97e46d5e1
+ * Import patches to fix Remote crash from an empty Vendor-Specific
+ attribute in rewrite rules (GHSA-mf4w-p52g-j253)
+
https://github.com/radsecproxy/radsecproxy/security/advisories/GHSA-mf4w-p52g-j253
+
https://github.com/radsecproxy/radsecproxy/commit/f6c2f5469fe4f2f48e748f4de413f9a7cbfc130d
+
https://github.com/radsecproxy/radsecproxy/commit/c5a9be5adadebac299df5b60ec6d2cfbb234d4e1
+
+ -- Sven Hartge <[email protected]> Fri, 25 Sep 2026 20:49:14 +0200
+
radsecproxy (1.9.2-2) unstable; urgency=medium
* Improve logcheck patterns to reduce noise
* Make logcheck rules compatible with all syslog timestamp formats
- -- Sven Hartge <[email protected]> Mon, 06 Mar 2023 16:39:08 +0100
+ -- Sven Hartge <[email protected]> Thu, 02 Mar 2023 17:57:28 +0100
radsecproxy (1.9.2-1) unstable; urgency=medium
diff -Nru radsecproxy-1.9.2/debian/patches/fix_GHSA-mf4w-p52g-j253-p1
radsecproxy-1.9.2/debian/patches/fix_GHSA-mf4w-p52g-j253-p1
--- radsecproxy-1.9.2/debian/patches/fix_GHSA-mf4w-p52g-j253-p1 1970-01-01
01:00:00.000000000 +0100
+++ radsecproxy-1.9.2/debian/patches/fix_GHSA-mf4w-p52g-j253-p1 2026-09-25
20:49:14.000000000 +0200
@@ -0,0 +1,64 @@
+From f6c2f5469fe4f2f48e748f4de413f9a7cbfc130d Mon Sep 17 00:00:00 2001
+From: Fabian Mauchle <[email protected]>
+Date: Mon, 24 Aug 2026 08:28:56 +0200
+Subject: [PATCH] fix vendor rewrite attribute too short
+
+---
+ rewrite.c | 2 ++
+ tests/t_rewrite.c | 25 +++++++++++++++++++++++++
+ 2 files changed, 27 insertions(+)
+
+--- a/rewrite.c
++++ b/rewrite.c
+@@ -503,6 +503,8 @@ int dorewritemod(struct radmsg *msg, str
+ for (n = list_first(msg->attrs); n; n = list_next(n)) {
+ struct tlv *attr = (struct tlv *)n->data;
+ if (attr->t == RAD_Attr_Vendor_Specific) {
++ if (attr->l < 4)
++ continue;
+ memcpy(&vendor, attr->v, 4);
+ vendor = ntohl(vendor);
+ for (m = list_first(modvattrs); m; m = list_next(m)) {
+--- a/tests/t_rewrite.c
++++ b/tests/t_rewrite.c
+@@ -84,7 +84,7 @@ void _reset_rewrite(struct rewrite *rewr
+ int
+ main (int argc, char *argv[])
+ {
+- int testcount = 26;
++ int testcount = 27;
+ struct list *origattrs, *expectedattrs;
+ struct rewrite rewrite;
+ char *username = "user@realm";
+@@ -560,6 +560,31 @@ main (int argc, char *argv[])
+
+ regfree(®ex);
+ _tlv_list_clear(origattrs);
++ _tlv_list_clear(expectedattrs);
++ _reset_rewrite(&rewrite);
++ }
++
++ /* test modify vendor too short*/
++ {
++ struct modattr *mod = malloc(sizeof(struct modattr));
++ regex_t regex;
++ uint8_t vendorattrin[] = {0, 0, 0, 42};
++
++ mod->t = 1;
++ mod->vendor = 42;
++ mod->regex = ®ex;
++ mod->replacement = "bb";
++ regcomp(mod->regex, "a", REG_ICASE | REG_EXTENDED);
++
++ list_push(rewrite.modvattrs, mod);
++ list_push(origattrs, maketlv(RAD_Attr_Vendor_Specific,
sizeof(vendorattrin) - 1, vendorattrin));
++
++ if (_check_rewrite(origattrs, &rewrite, origattrs, 0))
++ printf("not ");
++ printf("ok %d - modify vendor too short\n", testcount++);
++
++ regfree(®ex);
++ _tlv_list_clear(origattrs);
+ _tlv_list_clear(expectedattrs);
+ _reset_rewrite(&rewrite);
+ }
diff -Nru radsecproxy-1.9.2/debian/patches/fix_GHSA-mf4w-p52g-j253-p2
radsecproxy-1.9.2/debian/patches/fix_GHSA-mf4w-p52g-j253-p2
--- radsecproxy-1.9.2/debian/patches/fix_GHSA-mf4w-p52g-j253-p2 1970-01-01
01:00:00.000000000 +0100
+++ radsecproxy-1.9.2/debian/patches/fix_GHSA-mf4w-p52g-j253-p2 2026-09-25
20:49:14.000000000 +0200
@@ -0,0 +1,20 @@
+From c5a9be5adadebac299df5b60ec6d2cfbb234d4e1 Mon Sep 17 00:00:00 2001
+From: Fabian Mauchle <[email protected]>
+Date: Tue, 27 Oct 2026 16:51:50 +0100
+Subject: [PATCH] fix missing length check in vendor rewrite
+ (GHSA-mf4w-p52g-j253)
+
+---
+ rewrite.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/rewrite.c
++++ b/rewrite.c
+@@ -552,6 +552,7 @@ int dorewritesup(struct radmsg *msg, str
+ exist = 1;
+ break;
+ } else if (supattr->t == RAD_Attr_Vendor_Specific && attr->t ==
RAD_Attr_Vendor_Specific &&
++ attr->l > 4 &&
+ memcmp (supattr->v, attr->v, 4)==0) {
+ if (!attrvalidate(attr->v+4, attr->l-4)) {
+ debug(DBG_INFO, "dorewritesup: vendor attribute
validation failed, no rewrite");
diff -Nru radsecproxy-1.9.2/debian/patches/fix_GHSA-wj29-mxmc-q98c
radsecproxy-1.9.2/debian/patches/fix_GHSA-wj29-mxmc-q98c
--- radsecproxy-1.9.2/debian/patches/fix_GHSA-wj29-mxmc-q98c 1970-01-01
01:00:00.000000000 +0100
+++ radsecproxy-1.9.2/debian/patches/fix_GHSA-wj29-mxmc-q98c 2026-09-25
20:49:14.000000000 +0200
@@ -0,0 +1,20 @@
+From 9256b4a78ad6b14d97f80a0e749c66d97e46d5e1 Mon Sep 17 00:00:00 2001
+From: Fabian Mauchle <[email protected]>
+Date: Tue, 28 Jul 2026 08:20:58 +0200
+Subject: [PATCH] fix ms-mppe alignment check (GHSA-wj29-mxmc-q98c)
+
+---
+ radsecproxy.c | 2 +-
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+--- a/radsecproxy.c
++++ b/radsecproxy.c
+@@ -815,7 +815,7 @@ int pwdrecrypt(uint8_t *pwd, uint8_t len
+ }
+
+ int msmpprecrypt(uint8_t *msmpp, uint8_t len, uint8_t *oldsecret, int
oldsecret_len, uint8_t *newsecret, int newsecret_len, uint8_t *oldauth, uint8_t
*newauth) {
+- if (len < 18)
++ if (len < 18 || (len - 2) % 16)
+ return 0;
+ if (!msmppdecrypt(msmpp + 2, len - 2, oldsecret, oldsecret_len, oldauth,
msmpp)) {
+ debug(DBG_WARN, "msmpprecrypt: failed to decrypt msppe key");
diff -Nru radsecproxy-1.9.2/debian/patches/series
radsecproxy-1.9.2/debian/patches/series
--- radsecproxy-1.9.2/debian/patches/series 2023-03-06 16:39:08.000000000
+0100
+++ radsecproxy-1.9.2/debian/patches/series 2026-09-25 20:49:14.000000000
+0200
@@ -1 +1,4 @@
fix-spelling
+fix_GHSA-wj29-mxmc-q98c
+fix_GHSA-mf4w-p52g-j253-p1
+fix_GHSA-mf4w-p52g-j253-p2