CVEfocus › CVE database › CVE-2021-32642

CVE-2021-32642Missing input validation in dynamic discovery example scripts.

CVSS 7.0 HighEPSS 1.3% (higher than 71% of CVEs)Published 2021-05-28Updated 2024-08-03Assigner: GitHub_M

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.

CWE-20

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

3Fixed
4Fix pending
1Under investigation
3Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04radsecproxyNot affected
vulnerable_code_not_present
Ubuntu 25.10radsecproxyNot affected
vulnerable_code_not_present
Ubuntu 24.04radsecproxyNot affected
vulnerable_code_not_present
Ubuntu 22.04radsecproxyUnder investigationUBUNTU-CVE-2021-32642
Ubuntu 20.04radsecproxyFix pendingUBUNTU-CVE-2021-32642
Ubuntu 18.04radsecproxyFix pendingUBUNTU-CVE-2021-32642
Ubuntu 16.04radsecproxyFix pendingUBUNTU-CVE-2021-32642
Ubuntu 14.04radsecproxyFix pending
Debian 14radsecproxyFixed1.8.2-4DEBIAN-CVE-2021-32642
Debian 13radsecproxyFixed1.8.2-4DEBIAN-CVE-2021-32642
Debian 12radsecproxyFixed1.8.2-4DEBIAN-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.

Vendor advisories:

References

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.