Read the docs
TI-2021-03312 Aliases CVE-2021-4456GHSA-6xjh-63ff-92mc

Incorrect type conversion in MRSAM Net::CIDR

Priority HIGH 68CWE-704Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.

Summary

Net::CIDR versions before 0.24 for Perl mishandle leading zeros in IP CIDR addresses, which may have unspecified impact. The functions `addr2cidr` and `cidrlookup` may return leading zeros in a CIDR string, which may in turn be parsed as octal numbers by subsequent users. In some cases an attacker may be able to leverage this to bypass access controls based on IP addresses. The documentation advises validating untrusted CIDR strings with the `cidrvalidate` function. However, this mitigation is optional and not enforced by default. In practice, users may call `addr2cidr` or `cidrlookup` with untrusted input and without validation, incorrectly assuming that this is safe.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00374 31st percentileScored 2026-11-07
Fix Fixed Net::CIDR (MRSAM): 0.24

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
MRSAMNet::CIDRbefore 0.240.24Patch availableCNA
  • Net::CIDR VendorMRSAM Affected before 0.24 Fixed in 0.24 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:mrsam:net\:\:cidr:*:*:*:*:*:perl:*:* cidrVulnerableMRSAM
  • cpe:2.3:a:mrsam:net\:\:cidr:*:*:*:*:*:perl:*:* Versions cidr Vulnerable ·MRSAM

Remediation

  • Fix · CNA Net::CIDR (MRSAM) Fixed in 0.24

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-4456
  2. 2026-10-03 Alias added: GHSA-6xjh-63ff-92mc

References

Sources