Perl up to 5.28.0 Regex regcomp.c S_grok_bslash_N out-of-bounds
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.1 | $0-$5k | 0.00 |
Summary
A vulnerability marked as problematic has been reported in Perl up to 5.28.0. This vulnerability affects the function S_grok_bslash_N of the file regcomp.c of the component Regex Handler. Performing a manipulation results in out-of-bounds.
This vulnerability was named CVE-2018-18313. The attack may be initiated remotely. There is no available exploit.
It is suggested to upgrade the affected component.
Details
A vulnerability was found in Perl up to 5.28.0 (Programming Language Software). It has been classified as problematic. This affects the function S_grok_bslash_N of the file regcomp.c of the component Regex Handler. The manipulation with an unknown input leads to a out-of-bounds vulnerability. CWE is classifying the issue as CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. This is going to have an impact on confidentiality. The summary by CVE is:
Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive information from process memory.
The bug was discovered 11/29/2018. The weakness was presented 11/29/2018 as perldelta - what is new for perl v5.26.3 as confirmed release notes (Website). It is possible to read the advisory at metacpan.org. The public release was coordinated in cooperation with the project team. This vulnerability is uniquely identified as CVE-2018-18313 since 10/14/2018. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 120189 (SUSE SLED15 / SLES15 Security Update : perl (SUSE-SU-2018:4187-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 176537 (Debian Security Update for perl (DSA 4347-1)).
Upgrading to version 5.28.1 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (120189), SecurityFocus (BID 106145†) and SecurityTracker (ID 1042181†). See VDB-127381, VDB-127382, VDB-127384 and VDB-132369 for similar entries. Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Name
Version
- 5.0
- 5.1
- 5.2
- 5.3
- 5.4
- 5.5
- 5.6
- 5.7
- 5.8
- 5.9
- 5.10
- 5.11
- 5.12
- 5.13
- 5.14
- 5.15
- 5.16
- 5.17
- 5.18
- 5.19
- 5.20
- 5.21
- 5.22
- 5.23
- 5.24
- 5.25
- 5.26
- 5.27
- 5.28.0
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.2VulDB Meta Temp Score: 7.1
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.1
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Out-of-boundsCWE: CWE-125 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 120189
Nessus Name: SUSE SLED15 / SLES15 Security Update : perl (SUSE-SU-2018:4187-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Perl 5.28.1
Patch: github.com
Timeline
10/14/2018 🔍11/29/2018 🔍
11/29/2018 🔍
11/29/2018 🔍
11/29/2018 🔍
11/29/2018 🔍
12/03/2018 🔍
12/07/2018 🔍
01/02/2019 🔍
06/12/2023 🔍
Sources
Advisory: perldelta - what is new for perl v5.26.3Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍
CVE: CVE-2018-18313 (🔍)
GCVE (CVE): GCVE-0-2018-18313
GCVE (VulDB): GCVE-100-127383
OVAL: 🔍
SecurityFocus: 106145 - Perl Multiple Buffer Overflow Vulnerabilities
SecurityTracker: 1042181
See also: 🔍
Entry
Created: 12/03/2018 09:09Updated: 06/12/2023 14:10
Changes: 12/03/2018 09:09 (83), 04/16/2020 17:23 (5), 06/12/2023 14:10 (4)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.