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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.34% (percentile 71, 2026-11-26)
- **CWE:** CWE-20
- **Published:** 2021-05-28T16:40:10.000Z
- **Modified:** 2026-06-17T03:53:19.977Z

## Who should check

- Anyone running radsecproxy \< 1.9.0

## 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 and fixed versions

- radsecproxy: \< 1.9.0 (cvelist)

## Mitigation

- Upgrade radsecproxy to 1.9.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-32642. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-32642.md
Affected: radsecproxy < 1.9.0
Fixed in: radsecproxy 1.9.0

Steps:
1. Search this machine and project for radsecproxy: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-32642 being exploited?

There is no confirmed exploitation: CVE-2021-32642 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-32642?

High: CVSS 7.0 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2021-32642?

radsecproxy \< 1.9.0.

### Is there a fix for CVE-2021-32642?

Yes. Fixed in radsecproxy 1.9.0. Upgrade radsecproxy to 1.9.0 or later.

### How do I check if I'm affected by CVE-2021-32642?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/radsecproxy/radsecproxy/security/advisories/GHSA-56gw-9rj9-55rc>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HOC5AFG65NYLMMUTNSBOPC5F4LBAC7BR/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W7QK5M2SZVMCAFSRQMM6PRZZRQQ372XI/>
- other: <https://www.usenix.org/conference/usenixsecurity21/presentation/jeitner>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-32642>

HTML: <https://flawdb.com/CVE-2021-32642> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-32642>
