Multiple Vendor 'inet_net_pton()' Function Integer Overflow Weakness

BID:30803

Info

Multiple Vendor 'inet_net_pton()' Function Integer Overflow Weakness

Bugtraq ID: 30803
Class: Boundary Condition Error
CVE:
Remote: Yes
Local: Yes
Published: Aug 23 2008 12:00AM
Updated: Aug 28 2008 08:14PM
Credit: Maksymilian Arciemowicz
Vulnerable: OpenBSD OpenBSD 4.3
ISC BIND 9.5.0-P2
Apple Mac OS X Server 10.5.4
Apple Mac OS X Server 10.5.3
Apple Mac OS X Server 10.5.2
Apple Mac OS X Server 10.5.1
Apple Mac OS X Server 10.5
Apple Mac OS X 10.5.4
Apple Mac OS X 10.5.3
Apple Mac OS X 10.5.2
Apple Mac OS X 10.5.1
Apple Mac OS X 10.5
Not Vulnerable:

Discussion

Multiple Vendor 'inet_net_pton()' Function Integer Overflow Weakness

Multiple vendors are prone to an integer-overflow weakness.

The return value of 'inet_net_pton()' is expected to be 0 or greater on success, or -1 on error. This integer-overflow weakness results in large negative values being returned. The affected function itself is not directly exploitable, but if its return value is used in further processing, it may expose third-party applications to vulnerabilities.

This issue affects OpenBSD 4.3, Mac OS X 10.5, and ISC BIND 9.5.0-P2; other platforms and versions may also be affected.

Exploit / POC

Multiple Vendor 'inet_net_pton()' Function Integer Overflow Weakness

Calling the affected function with a string similar to '127.0.0.1/2147483649' demonstrates this issue.

Solution / Fix

Multiple Vendor 'inet_net_pton()' Function Integer Overflow Weakness

Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].

References

Multiple Vendor 'inet_net_pton()' Function Integer Overflow Weakness

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report