Vulnerability · Published May 28, 2021 · Assigned by GitHub_M
CVE-2021-32642Missing input validation in dynamic discovery example scripts.
High 7.0
In plain English
A high-severity improper input validation in radsecproxy from radsecproxy. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | radsecproxy | 1.8.2-4 | DEBIAN-CVE-2021-32642 |
| Debian:13 | radsecproxy | 1.8.2-4 | DEBIAN-CVE-2021-32642 |
| Debian:14 | radsecproxy | 1.8.2-4 | DEBIAN-CVE-2021-32642 |
| Ubuntu:22.04:LTS | radsecproxy | no fix listed | UBUNTU-CVE-2021-32642 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| radsecproxy | radsecproxy | < 1.9.0 |
Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
References
- https://www.usenix.org/conference/usenixsecurity21/presentation/jeitner x_refsource_MISC
- https://github.com/radsecproxy/radsecproxy/security/advisories/GHSA-56gw-9rj9-55rc x_refsource_CONFIRM
- FEDORA-2021-a4be4c93e4 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-d3f8193065 vendor-advisory, x_refsource_FEDORA