Vulnerabilities · 2012 · Perl
CVE-2012-5195
Perl vulnerability
Heap-based buffer overflow in the Perl_repeatcpy function in util.c in Perl 5.12.x before 5.12.5, 5.14.x before 5.14.3, and 5.15.x before 15.15.5 allows context-dependent attackers to cause a denial of service (memory consumption and crash) or possibly execute arbitrary code via the 'x' string repeat operator.
Affected products
Perl. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Perl 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/commit/2709980d5a193ce6f3a16f0d19879a6560dcde44 · Patch
- secunia.com/advisories/51457 · Vendor Advisory
- kb.juniper.net/InfoCenter/index?page=content&id=JSA10673
- kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- kb.juniper.net/InfoCenter/index?page=content&id=JSA10735
- rhn.redhat.com/errata/RHSA-2013-0685.html
- secunia.com/advisories/55314
- www.debian.org/security/2012/dsa-2586
- nvd.nist.gov/vuln/detail/CVE-2012-5195
- cve.org/CVERecord?id=CVE-2012-5195
More vulnerabilities in Perl products
CVE-2024-56406CVE-2023-47039CVE-2023-47038CVE-2023-31486CVE-2023-31484CVE-2022-48522CVE-2020-16156CVE-2020-14393All 58
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.