CVE-2011-2939
Dan Kogai Encode Module vulnerability
Off-by-one error in the decode_xs function in Unicode/Unicode.xs in the Encode module before 2.44, as used in Perl before 5.15.6, might allow context-dependent attackers to cause a denial of service (memory corruption) via a crafted Unicode string, which triggers a heap-based buffer overflow.
Affected products
Encode Module, Perl. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Dan Kogai Encode Module runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- perl5.git.perl.org/perl.git/commitdiff/e46d973584785af1f445c4dedbee4243419cb860#patch5 · Exploit
- www.openwall.com/lists/oss-security/2011/08/19/17 · Patch
- bugzilla.redhat.com/show_bug.cgi?id=731246 · Patch
- cpansearch.perl.org/src/FLORA/perl-5.14.2/pod/perldelta.pod
- search.cpan.org/~flora/perl-5.14.2/pod/perldelta.pod#Encode_decode_xs_n-byte_heap-overflow
- secunia.com/advisories/46172
- secunia.com/advisories/46989
- secunia.com/advisories/51457
- nvd.nist.gov/vuln/detail/CVE-2011-2939
- cve.org/CVERecord?id=CVE-2011-2939
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.