CVE-2016-15059: Net::IDN::Punycode versions before 2.301 for Perl allow a heap buffer overflow via unchecked writes past the output buffer in encode_punycode
Perl Net::IDN::Punycode before 2.301 has a heap buffer overflow in encode_punycode, tracked as CVE-2016-15059.
Paul Johnson reported on oss-security that Perl Net::IDN::Punycode before version 2.301 is affected by CVE-2016-15059. The bug is a heap buffer overflow from unchecked writes past the output buffer in encode_punycode, in the Net-IDN-Encode distribution. The notice does not report exploitation in the wild.
- CVE-2016-15059 affects Net::IDN::Punycode before version 2.301.
- Unchecked writes in encode_punycode overflow the heap output buffer.
- Posted to oss-security; no active exploitation is reported.
Vulnerabilities mentionedAll →
- CVE-2016-150599.8—Heap Buffer Overflow in Perl Net::IDN::Punycode XS Backendpublished · Net::IDN::Punycode
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2016-15059 | Heap Buffer Overflow in Perl Net::IDN::Punycode XS Backend CVE-2016-15059 is a heap buffer overflow vulnerability in the XS backend of the Net::IDN::Punycode Perl module. The flaw is triggered in the `encode_punycode` function when encoding a string whose Punycode output exceeds the pre-allocated buffer, due to missing bounds checks on the final digit and NUL terminator writes. An attacker who can supply a maliciously crafted internationalized domain name could corrupt the heap, potentially leading to arbitrary code execution or application crashes. Only systems using the XS backend of affected versions are vulnerable. As of the latest reports, there is no public proof-of-concept and exploitation in the wild is not known. Upgrade Net::IDN::Punycode to version 2.301 or later to resolve the heap buffer overflow. If immediate patching is not feasible, avoid processing untrusted internationalized domain names with the XS backend. |
Posted by Paul Johnson on Sep 22 ======================================================================== https://metacpan.org/dist/Net-IDN-Encode https://github.com/robrwo/Net-IDN-Encode Net::IDN::Punycode...
This source does not provide full text. Read it at seclists.org.