LiveActive security incident?Get immediate response
CVE Record

CVE-2021-32642: Missing 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.

HighCVSS 7Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

If an organization manually deployed two radsecproxy dynamic-discovery example scripts, malicious DNS discovery records could alter generated configuration. That can expose information, disrupt RADIUS service, or redirect authentication traffic to an unauthenticated server. The risk is serious but narrower than a default product flaw because the vulnerable scripts are examples and not automatically installed or updated.

Executive priority

Treat this as high priority for organizations using radsecproxy dynamic discovery in authentication infrastructure. It can affect availability and authentication routing, but exposure is conditional on manually deployed example scripts rather than every radsecproxy installation.

Technical view

CVE-2021-32642 is a CWE-20 input validation failure in naptr-eduroam.sh and radsec-dynsrv.sh. Crafted RadSec peer discovery DNS records can cause configuration injection. The vulnerable code is independent of radsecproxy itself; updated scripts are in master and 1.9 and can be used with any radsecproxy version.

Likely exposure

Most likely exposed are RADIUS or RadSec deployments that manually copied or adapted the vulnerable dynamic discovery example scripts, especially eduroam-style federation discovery. Standard radsecproxy packages are less likely to be exposed if they did not deploy those scripts.

Exploitation context

The bundle does not cite known active exploitation, and CISA KEV status is false. Exploitation is network-reachable but rated high complexity because it depends on crafted peer discovery DNS records affecting a deployment that uses the vulnerable scripts.

Researcher notes

Focus validation on script provenance and operational use, not only radsecproxy package version. The advisory states the scripts are not part of the installation package, are not automatically updated, and work independently of radsecproxy code.

Mitigation direction

  • Identify whether naptr-eduroam.sh or radsec-dynsrv.sh are deployed anywhere.
  • Replace vulnerable example scripts with the updated versions from radsecproxy master or 1.9.
  • Do not assume package updates replaced manually copied example scripts.
  • Review vendor and distribution advisories for environment-specific packaging guidance.
  • Prioritize changes where dynamic discovery supports external federation or roaming authentication.

Validation and detection

  • Search configuration management and hosts for the two script names.
  • Confirm deployed script contents match updated radsecproxy examples.
  • Check whether RadSec dynamic discovery is enabled in production authentication paths.
  • Review DNS trust assumptions for peer discovery records.
  • Run the project unit and regression tests after any local remediation change.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-20: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-32642 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7CVSS 3.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H2.24.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7High
CVSS 3.1 vector shape for CVE-2021-32642Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
radsecproxyradsecproxy< 1.9.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-20 · source CWE mapping

Improper Input Validation

Improper Input Validation represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.