CVE-2021-32642Missing input validation in dynamic discovery example scripts.
radsecproxy is a generic RADIUS proxy that supports both UDP and TLS (RadSec) RADIUS transports. Missing input validation in radsecproxy's `naptr-eduroam.sh` and `radsec-dynsrv.sh` scripts can lead to configuration injection via crafted radsec peer discovery DNS records. Users are subject to Information disclosure, Denial of Service, Redirection of Radius connection to a non-authenticated server leading to non-authenticated network access. Updated example scripts are available in the master branch and 1.9 release. Note that the scripts are not part of the installation package and are not updated automatically. If you are using the examples, you have to update them manually. The dyndisc scripts work independently of the radsecproxy code. The updated scripts can be used with any version of radsecproxy.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | radsecproxy | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | radsecproxy | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | radsecproxy | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | radsecproxy | Under investigation | UBUNTU-CVE-2021-32642 | |
| Ubuntu 20.04 | radsecproxy | Fix pending | UBUNTU-CVE-2021-32642 | |
| Ubuntu 18.04 | radsecproxy | Fix pending | UBUNTU-CVE-2021-32642 | |
| Ubuntu 16.04 | radsecproxy | Fix pending | UBUNTU-CVE-2021-32642 | |
| Ubuntu 14.04 | radsecproxy | Fix pending | ||
| Debian 14 | radsecproxy | Fixed | 1.8.2-4 | DEBIAN-CVE-2021-32642 |
| Debian 13 | radsecproxy | Fixed | 1.8.2-4 | DEBIAN-CVE-2021-32642 |
| Debian 12 | radsecproxy | Fixed | 1.8.2-4 | DEBIAN-CVE-2021-32642 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- radsecproxy: affected: < 1.9.0
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://www.usenix.org/conference/usenixsecurity21/presentation/jeitner
- https://github.com/radsecproxy/radsecproxy/security/advisories/GHSA-56gw-9rj9-55rc
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HOC5AFG65NYLMMUTNSBOPC5F4LBAC7BR/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W7QK5M2SZVMCAFSRQMM6PRZZRQQ372XI/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.