Perl up to 5.28.0 Regex regcomp.c S_regatom memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.4 | $0-$5k | 0.00 |
Summary
A vulnerability described as critical has been identified in Perl up to 5.28.0. This issue affects the function S_regatom of the file regcomp.c of the component Regex Handler. Executing a manipulation can lead to memory corruption.
The identification of this vulnerability is CVE-2018-18314. The attack may be launched remotely. There is no exploit available.
Upgrading the affected component is recommended.
Details
A vulnerability was found in Perl up to 5.28.0 (Programming Language Software). It has been declared as critical. This vulnerability affects the function S_regatom of the file regcomp.c of the component Regex Handler. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations.
The bug was discovered 11/29/2018. The weakness was shared 11/29/2018 as perldelta - what is new for perl v5.26.3 as confirmed release notes (Website). The advisory is shared for download at metacpan.org. The vendor cooperated in the coordination of the public release. This vulnerability was named CVE-2018-18314 since 10/14/2018. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available.
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†). The entries VDB-127381, VDB-127382, VDB-127383 and VDB-132369 are related to this item. VulDB is the best source for vulnerability data and more expert information about this specific topic.
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: 8.5VulDB Meta Temp Score: 8.4
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
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: Memory corruptionCWE: 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-18314 (🔍)
GCVE (CVE): GCVE-0-2018-18314
GCVE (VulDB): GCVE-100-127384
OVAL: 🔍
SecurityFocus: 106145 - Perl Multiple Buffer Overflow Vulnerabilities
SecurityTracker: 1042181
See also: 🔍
Entry
Created: 12/03/2018 09:09Updated: 06/12/2023 14:13
Changes: 12/03/2018 09:09 (83), 04/16/2020 17:27 (5), 06/12/2023 14:13 (4)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.