CVE-2018-18313
published 2018-12-07CVE-2018-18313: Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive information from process memory.
PriorityP344critical9.1CVSS 3.0
AVNACLPRNUINSUCHINAH
EPSS
9.52%
94.9th percentile
Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive information from process memory.
Affected
23 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | mac_os_x | < 10.14.4 | 10.14.4 |
| apple | macos_mojave_10.14.4_security_update_2019-002_high_sierra_security_update_2019-0 | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | perl | < perl 5.28.0-3 (bookworm) | perl 5.28.0-3 (bookworm) |
| netapp | e-series_santricity_os_controller | 11.0 – 11.40 | — |
| perl | perl | < 5.26.3 | 5.26.3 |
| perl | perl | >= 0 < 5.28.0-3 | 5.28.0-3 |
| perl | perl | >= 0 < 5.28.0-3 | 5.28.0-3 |
| perl | perl | >= 0 < 5.28.0-3 | 5.28.0-3 |
| perl | perl | >= 0 < 5.28.0-3 | 5.28.0-3 |
| perl | perl | >= 0 < 5.18.2-2ubuntu1.7 | 5.18.2-2ubuntu1.7 |
| perl | perl | >= 0 < 5.22.1-9ubuntu0.6 | 5.22.1-9ubuntu0.6 |
| perl | perl | >= 0 < 5.26.1-6ubuntu0.3 | 5.26.1-6ubuntu0.3 |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
CVSS provenance
nvdv3.09.1CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
nvdv2.06.4MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:P
osv9.8CRITICAL
vendor_ubuntu9.8CRITICAL
vendor_debian9.1CRITICAL
vendor_redhat9.1CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Apple
CVE-2018-18313: macOS Mojave 10.14.4, Security Update 2019-002 High Sierra, Security Update 2019-002 Sierra
vendor_apple·2019-03-25·CVSS 9.1
CVE-2018-18313 [CRITICAL] CVE-2018-18313: macOS Mojave 10.14.4, Security Update 2019-002 High Sierra, Security Update 2019-002 Sierra
Apple Security Update: About the security content of macOS Mojave 10.14.4, Security Update 2019-002 High Sierra, Security Update 2019-002 Sierra
Product: macOS Mojave 10.14.4, Security Update 2019-002 High Sierra, Security Update 2019-002 Sierra
CVE: CVE-2018-18313
Component: Perl
Impact: Multiple issues in Perl
Description: Multiple issues in Perl were addressed in this update.
Ubuntu
Perl vulnerabilities
vendor_ubuntu·2018-12-03·CVSS 9.8
CVE-2018-18311 [CRITICAL] Perl vulnerabilities
Title: Perl vulnerabilities
Summary: Several security issues were fixed in Perl.
Jayakrishna Menon discovered that Perl incorrectly handled Perl_my_setenv.
An attacker could use this issue to cause Perl to crash, resulting in a
denial of service, or possibly execute arbitrary code. (CVE-2018-18311)
Eiichi Tsukata discovered that Perl incorrectly handled certain regular
expressions. An attacker could use this issue to cause Perl to crash,
resulting in a denial of service, or possibly execute arbitrary code. This
issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 18.10.
(CVE-2018-18312)
Eiichi Tsukata discovered that Perl incorrectly handled certain regular
expressions. An attacker could use this issue to cause Perl to crash,
resulting in a denial of service. (CVE-2018-18
Ubuntu
Perl vulnerabilities
vendor_ubuntu·2018-12-03·CVSS 9.8
CVE-2018-18311 [CRITICAL] Perl vulnerabilities
Title: Perl vulnerabilities
Summary: Several security issues were fixed in Perl.
USN-3834-1 fixed a vulnerability in perl. This update provides
the corresponding update for Ubuntu 12.04 ESM.
Original advisory details:
Jayakrishna Menon discovered that Perl incorrectly handled Perl_my_setenv.
An attacker could use this issue to cause Perl to crash, resulting in a
denial of service, or possibly execute arbitrary code. (CVE-2018-18311)
Eiichi Tsukata discovered that Perl incorrectly handled certain regular
expressions. An attacker could use this issue to cause Perl to crash,
resulting in a denial of service. (CVE-2018-18313)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
perl: Heap-based buffer read overflow in S_grok_bslash_N()
vendor_redhat·2018-11-29·CVSS 9.1
CVE-2018-18313 [CRITICAL] CWE-125 perl: Heap-based buffer read overflow in S_grok_bslash_N()
perl: Heap-based buffer read overflow in S_grok_bslash_N()
Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive information from process memory.
Package: perl (Red Hat Enterprise Linux 5) - Not affected
Package: perl (Red Hat Enterprise Linux 6) - Not affected
Package: perl (Red Hat Enterprise Linux 7) - Not affected
Package: perl (Red Hat Enterprise Linux 8) - Not affected
Package: perl:5.24/perl (Red Hat Enterprise Linux 8) - Not affected
Package: perl (Red Hat OpenShift Enterprise 3) - Not affected
Debian
CVE-2018-18313: perl - Perl before 5.26.3 has a buffer over-read via a crafted regular expression that ...
vendor_debian·2018·CVSS 9.1
CVE-2018-18313 [CRITICAL] CVE-2018-18313: perl - Perl before 5.26.3 has a buffer over-read via a crafted regular expression that ...
Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive information from process memory.
Scope: local
bookworm: resolved (fixed in 5.28.0-3)
bullseye: resolved (fixed in 5.28.0-3)
forky: resolved (fixed in 5.28.0-3)
sid: resolved (fixed in 5.28.0-3)
trixie: resolved (fixed in 5.28.0-3)
GHSA
GHSA-jrcr-mfpr-rgg9: Perl before 5
ghsa_unreviewed·2022-05-13
CVE-2018-18313 [CRITICAL] CWE-125 GHSA-jrcr-mfpr-rgg9: Perl before 5
Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive information from process memory.
OSV
CVE-2018-18313: Perl before 5
osv·2018-12-07·CVSS 9.1
CVE-2018-18313 [CRITICAL] CVE-2018-18313: Perl before 5
Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive information from process memory.
OSV
perl vulnerabilities
osv·2018-12-03·CVSS 9.8
CVE-2018-18311 [CRITICAL] perl vulnerabilities
perl vulnerabilities
Jayakrishna Menon discovered that Perl incorrectly handled Perl_my_setenv.
An attacker could use this issue to cause Perl to crash, resulting in a
denial of service, or possibly execute arbitrary code. (CVE-2018-18311)
Eiichi Tsukata discovered that Perl incorrectly handled certain regular
expressions. An attacker could use this issue to cause Perl to crash,
resulting in a denial of service, or possibly execute arbitrary code. This
issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 18.10.
(CVE-2018-18312)
Eiichi Tsukata discovered that Perl incorrectly handled certain regular
expressions. An attacker could use this issue to cause Perl to crash,
resulting in a denial of service. (CVE-2018-18313)
Jakub Wilk discovered that Perl incorrectly handled cer
No detection rules found.
No public exploits indexed.
HackerOne
[CVE-2018-18313] regcomp: heap-buffer-overflow read in S_grok_bslash_N
hackerone·2019-09-25·CVSS 9.1
CVE-2018-18313 [CRITICAL] [CVE-2018-18313] regcomp: heap-buffer-overflow read in S_grok_bslash_N
[CVE-2018-18313] regcomp: heap-buffer-overflow read in S_grok_bslash_N
See: https://rt.perl.org/Public/Bug/Display.html?id=133192
CVE ID: CVE-2018-18313
## Impact
Potential information leak(ex: secret variables or source codes)
Bugzilla
CVE-2018-18313 perl: Heap-based buffer read overflow in S_grok_bslash_N() [fedora-all]
bugzilla·2018-11-30·CVSS 9.1
CVE-2018-18313 [CRITICAL] CVE-2018-18313 perl: Heap-based buffer read overflow in S_grok_bslash_N() [fedora-all]
CVE-2018-18313 perl: Heap-based buffer read overflow in S_grok_bslash_N() [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported
Bugzilla
CVE-2018-18313 perl: Heap-based buffer read overflow in S_grok_bslash_N()
bugzilla·2018-11-05·CVSS 9.1
CVE-2018-18313 [CRITICAL] CVE-2018-18313 perl: Heap-based buffer read overflow in S_grok_bslash_N()
CVE-2018-18313 perl: Heap-based buffer read overflow in S_grok_bslash_N()
A flaw was found in Perl versions 5.22 through 5.26. Heap-buffer-overflow read in regcomp.c
Upstream Patch:
https://github.com/Perl/perl5/commit/43b2f4ef399e2fd7240b4eeb0658686ad95f8e62
Discussion:
Upstream ticket:
https://rt.perl.org/Public/Bug/Display.html?id=133192
---
Downgrading severity based on:
- significant control over a regex gives a number of vectors to deny service, if not evaluate code
- information disclosure potential is through error messages, which should not be disclosed to attackers from secure systems
---
Acknowledgments:
Name: the Perl project
Upstream: Eiichi Tsukata
---
Created perl tracking bugs for this issue:
Affects: fedora-all [bug 1654921]
---
This issue has been address
http://seclists.org/fulldisclosure/2019/Mar/49http://www.securitytracker.com/id/1042181https://access.redhat.com/errata/RHSA-2019:0001https://access.redhat.com/errata/RHSA-2019:0010https://bugzilla.redhat.com/show_bug.cgi?id=1646738https://github.com/Perl/perl5/commit/43b2f4ef399e2fd7240b4eeb0658686ad95f8e62https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RWQGEB543QN7SSBRKYJM6PSOC3RLYGSM/https://metacpan.org/changes/release/SHAY/perl-5.26.3https://rt.perl.org/Ticket/Display.html?id=133192https://seclists.org/bugtraq/2019/Mar/42https://security.gentoo.org/glsa/201909-01https://security.netapp.com/advisory/ntap-20190221-0003/https://support.apple.com/kb/HT209600https://usn.ubuntu.com/3834-1/https://usn.ubuntu.com/3834-2/https://www.debian.org/security/2018/dsa-4347https://www.oracle.com/security-alerts/cpujul2020.htmlhttp://seclists.org/fulldisclosure/2019/Mar/49http://www.securitytracker.com/id/1042181https://access.redhat.com/errata/RHSA-2019:0001https://access.redhat.com/errata/RHSA-2019:0010https://bugzilla.redhat.com/show_bug.cgi?id=1646738https://github.com/Perl/perl5/commit/43b2f4ef399e2fd7240b4eeb0658686ad95f8e62https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RWQGEB543QN7SSBRKYJM6PSOC3RLYGSM/https://metacpan.org/changes/release/SHAY/perl-5.26.3https://rt.perl.org/Ticket/Display.html?id=133192https://seclists.org/bugtraq/2019/Mar/42https://security.gentoo.org/glsa/201909-01https://security.netapp.com/advisory/ntap-20190221-0003/https://support.apple.com/kb/HT209600https://usn.ubuntu.com/3834-1/https://usn.ubuntu.com/3834-2/https://www.debian.org/security/2018/dsa-4347https://www.oracle.com/security-alerts/cpujul2020.html
2018-12-07
Published