DHI-ffmn-pnov-buz7-5qr4

Source
https://scout.docker.com/v/DHI-ffmn-pnov-buz7-5qr4
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ffmn-pnov-buz7-5qr4.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-ffmn-pnov-buz7-5qr4
Upstream
Published
2026-11-10T01:38:28Z
Modified
2026-11-18T12:01:26Z
Summary
``inet_aton()`` accepts trailing characters after a valid IP. Because of
Details

inet_aton() accepts trailing characters after a valid IP. Because of that, Python ssl.match_hostname('1.1.1.1 ; this should not work but does') succeeded when it should fail.

The issue was introduced in bpo-32819 <https://bugs.python.org/issue32819>_ by commit aef1283b <https://github.com/python/cpython/commit/aef1283ba428e33397d87cee3c54a5110861552d>_. Only Python 3.7 and newer are affected. It's a potential security bug although low severity. For one Python 3.7 and newer no longer use ssl.match_hostname() to verify hostnames and IP addresses of a certificate: matching is performed by OpenSSL.

It should not possible to register a x509 certificate with a hostname with spaces.

The glibc function inet_aton() accepts input as valid if said input is a IPv4 address followed by zero or more characters that are valid white-space as decided by isspace(), with the rest of the string after the first white-space being ignored. As '\r' is a valid white-space character the rest of the string is ignored (including the '\r'). See glibc bug 24111: Deprecate inet_addr, inet_aton <https://sourceware.org/bugzilla/show_bug.cgi?id=24111>_.

References

Affected packages

Docker Hardened Images:Alpine:3.23
python-3.10

Package

Name
python-3.10
Purl
pkg:apk/dhi/python-3.10

Affected ranges

Affected versions

3.*
3.10.19-r0
3.10.20-r0
3.10.20-r1
3.10.20-r2
3.10.20-r3
3.10.20-r4
3.10.20-r5
3.10.20-r6
3.10.20-r7
3.10.20-r8
3.10.20-r9
3.10.20-r10
3.10.20-r11
3.10.20-r12
3.10.20-r13
3.10.21-r1
3.10.21-r2
3.10.22-r0
3.10.22-r1
3.10.22-r2
3.10.22-r3
3.10.22-r4
3.10.22-r5
3.10.22-r6
3.10.22-r7
3.10.22-r8

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ffmn-pnov-buz7-5qr4.json"
python-3.11

Package

Name
python-3.11
Purl
pkg:apk/dhi/python-3.11

Affected ranges

Affected versions

3.*
3.11.14-r0
3.11.15-r0
3.11.15-r1
3.11.15-r2
3.11.15-r3
3.11.15-r4
3.11.15-r5
3.11.15-r6
3.11.15-r7
3.11.15-r8
3.11.15-r9
3.11.15-r10
3.11.15-r11
3.11.15-r12
3.11.15-r13
3.11.16-r1
3.11.16-r2
3.11.17-r0
3.11.17-r1
3.11.18-r0
3.11.18-r1
3.11.18-r2
3.11.18-r3
3.11.18-r4

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ffmn-pnov-buz7-5qr4.json"
python-3.12

Package

Name
python-3.12
Purl
pkg:apk/dhi/python-3.12

Affected ranges

Affected versions

3.*
3.12.12-r0
3.12.13-r0
3.12.13-r1
3.12.13-r2
3.12.13-r3
3.12.13-r4
3.12.13-r5
3.12.13-r6
3.12.13-r7
3.12.13-r8
3.12.13-r9
3.12.13-r10
3.12.13-r11
3.12.13-r12
3.12.13-r13
3.12.14-r1
3.12.14-r2
3.12.15-r0
3.12.15-r1
3.12.16-r0
3.12.16-r1
3.12.16-r2
3.12.16-r3
3.12.16-r4

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ffmn-pnov-buz7-5qr4.json"
python-3.13

Package

Name
python-3.13
Purl
pkg:apk/dhi/python-3.13

Affected ranges

Affected versions

3.*
3.13.12-r0
3.13.12-r1
3.13.13-r1
3.13.13-r2
3.13.13-r3
3.13.13-r4
3.13.13-r5
3.13.13-r6
3.13.13-r7
3.13.13-r8
3.13.13-r9
3.13.14-r0
3.13.14-r1
3.13.14-r2
3.13.14-r3
3.13.15-r0
3.13.15-r1
3.13.15-r2
3.13.16-r0
3.13.16-r1
3.13.17-r0
3.13.18-r0
3.13.18-r1
3.13.18-r2
3.13.18-r3
3.13.18-r4

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ffmn-pnov-buz7-5qr4.json"
python-3.14

Package

Name
python-3.14
Purl
pkg:apk/dhi/python-3.14

Affected ranges

Affected versions

3.*
3.14.3-r0
3.14.3-r1
3.14.4-r1
3.14.4-r2
3.14.4-r3
3.14.4-r4
3.14.4-r5
3.14.4-r6
3.14.4-r7
3.14.5-r7
3.14.5-r8
3.14.5-r9
3.14.6-r9
3.14.6-r10
3.14.6-r11
3.14.6-r12
3.14.7-r0
3.14.7-r1
3.14.7-r2
3.14.8-r0
3.14.8-r1
3.14.10-r0
3.14.10-r1
3.14.10-r2
3.14.10-r3
3.14.10-r4

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ffmn-pnov-buz7-5qr4.json"
python-3.15

Package

Name
python-3.15
Purl
pkg:apk/dhi/python-3.15

Affected ranges

Affected versions

3.*
3.15.0-r0
3.15.2-r0
3.15.2-r1
3.15.2-r2
3.15.2-r3
3.15.2-r4

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ffmn-pnov-buz7-5qr4.json"