> CVE-2021-4456

« BACK_TO_HOME
PUBLISHED
2026-02-27 01:16
MODIFIED
2026-02-27 01:16
EPSS (Prob. Exploit)
0.37%
Top 68.4%
DATA SOURCES:
NVD 🔗 2026-02-27 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-10-28 OSV 🔗 2026-11-08

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> WEAKNESSES

CWE-704

> CWE DETAILED DESCRIPTIONS

CWE-704: Incorrect Type Conversion or Cast - The product does not correctly convert an object, resource, or structure from one type to a different type.

> GITHUB SECURITY ADVISORY

GHSA-3756-hwhv-qw58 MODERATE

Cross site scripting in francoisjacquet/rosariosis

AFFECTED PACKAGES:
COMPOSER / francoisjacquet/rosariosis
< 4.3
Fixed in: 4.3

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

AFFECTED PACKAGES:
Unknown / Unknown

> HISTORIQUE DES MODIFICATIONS

Première apparition
27/02/2026 01:16
Source: NVD
📊 ENRICHISSEMENT 01/03/2026 06:46
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-704: Incorrect Type Conversion or Cast - The product does not correctly convert an object, resource, or structure from one type to a different type.
Total des modifications: 1 Dernière mise à jour: 8 months ago

> REFERENCES

https://blog.urth.org/2021/03/29/security-issues-in-perl-ip-address-distros/
https://github.com/svarshavchik/Net-CIDR/commit/e3648c6bc6bdd018f90cca4149c46701...
https://metacpan.org/dist/Net-CIDR/changes
« BACK_TO_HOME