UBUNTU-CVE-2025-40911

Source
https://ubuntu.com/security/CVE-2025-40911
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40911.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-40911
Upstream
Published
2025-05-27T22:15:00Z
Modified
2025-07-14T07:02:38.456252Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Net::CIDR::Set versions 0.10 through 0.13 for Perl does not properly handle leading zero characters in IP CIDR address strings, which could allow attackers to bypass access control that is based on IP addresses. Leading zeros are used to indicate octal numbers, which can confuse users who are intentionally using octal notation, as well as users who believe they are using decimal notation. Net::CIDR::Set used code from Net::CIDR::Lite, which had a similar vulnerability CVE-2021-47154.

References

Affected packages

Ubuntu:Pro:20.04:LTS / libnet-cidr-set-perl

Package

Name
libnet-cidr-set-perl
Purl
pkg:deb/ubuntu/libnet-cidr-set-perl@0.13-2?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.13-2

Ubuntu:22.04:LTS / libnet-cidr-set-perl

Package

Name
libnet-cidr-set-perl
Purl
pkg:deb/ubuntu/libnet-cidr-set-perl@0.13-3?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.13-3

Ubuntu:24.04:LTS / libnet-cidr-set-perl

Package

Name
libnet-cidr-set-perl
Purl
pkg:deb/ubuntu/libnet-cidr-set-perl@0.13-5?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.13-4
0.13-5

Ubuntu:25.04 / libnet-cidr-set-perl

Package

Name
libnet-cidr-set-perl
Purl
pkg:deb/ubuntu/libnet-cidr-set-perl@0.13-5?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.13-5