Integer Overflow Vulnerability in libidn
Summary
DLA-1447-1: libidn - security update. Affects libidn versions < 1.29-1+deb8u3. Fixed in 1.29-1+deb8u3. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
libidn is a GNU library used for Internationalized Domain Names (IDNs). It provides functions for converting Unicode characters to ASCII encoding, specifically Punycode. This library is commonly used by applications to handle IDNs. However, a vulnerability has been discovered in the Punycode handling of libidn, which allows for an integer overflow. This vulnerability can be exploited by a remote attacker to cause a denial of service against applications using the library.
Vulnerability Detail
The integer overflow vulnerability in libidn's Punycode handling can be triggered by a remote attacker. By sending specially crafted input, the attacker can cause the library to perform an arithmetic operation resulting in an overflow. This can lead to a denial of service condition, potentially crashing the affected application. The vulnerability is present in versions prior to 1.29-1+deb8u3 of the libidn package.
How To Fix
Minimum fixed version
1.29-1+deb8u3
This is the first release that contains the fix.
sudo apt-get install --only-upgrade libidn
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability.
Conclusion
The integer overflow vulnerability in libidn's Punycode handling can be mitigated by upgrading to the fixed version of the libidn package. It is important to keep software up to date to ensure the security and stability of applications. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for libidn →
FAQ
libidn is a GNU library used for Internationalized Domain Names (IDNs). It provides functions for converting Unicode characters to ASCII encoding, specifically Punycode.
Punycode is a Unicode encoding scheme used to represent Internationalized Domain Names (IDNs) with non-ASCII characters using only ASCII characters.
The vulnerability allows a remote attacker to cause a denial of service against applications using the libidn library. This can potentially crash the affected application.
To fix this vulnerability, it is recommended to upgrade the libidn package to version 1.29-1+deb8u3 or later. Detailed instructions can be found in the Debian LTS security advisories documentation.
No specific workaround has been mentioned for this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for libidn.