9.8
CRITICAL CVSS 3.0
CVE-2018-6797
"Perl Stack Buffer Overflow Vulnerability"
Description

An issue was discovered in Perl 5.18 through 5.26. A crafted regular expression can cause a heap-based buffer overflow, with control over the bytes written.

INFO

Published Date :

April 17, 2018, 8:29 p.m.

Last Modified :

Nov. 21, 2024, 4:11 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2018-6797 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux_server
2 Redhat enterprise_linux_workstation
1 Canonical ubuntu_linux
1 Debian debian_linux
1 Perl perl
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.0 CRITICAL [email protected]
Solution
This addresses a Perl stack buffer overflow by updating the affected packages or OS.
  • Update Perl packages to address the vulnerability.
  • For SUSE, use YaST or zypper to apply patches.
  • For macOS, install the latest security update.
Public PoC/Exploit Available at Github

CVE-2018-6797 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-6797 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-6797 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 10 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Sept. 3, 2024, 3:51 a.m. This repo has been linked 32 different CVEs too.

None

Updated: 7 months, 1 week ago
2 stars 1 fork 1 watcher
Born at : Jan. 29, 2024, 7:04 a.m. This repo has been linked 80 different CVEs too.

hackerone one million reports

bugbountytips vulnerability-research

Updated: 2 years, 4 months ago
3 stars 1 fork 1 watcher
Born at : Oct. 15, 2022, 6:48 p.m. This repo has been linked 80 different CVEs too.

content creation around image building for containers

Shell

Updated: 1 year, 2 months ago
1 stars 4 fork 4 watcher
Born at : May 16, 2018, 6:10 p.m. This repo has been linked 6 different CVEs too.

PoCs discovered through fuzzing which resulted in a CVE assignment.

fuzzing infosec cve security testcase poc

Prolog

Updated: 2 years, 9 months ago
18 stars 10 fork 10 watcher
Born at : Nov. 12, 2016, 7:38 a.m. This repo has been linked 21 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-6797 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-6797 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.securitytracker.com/id/1040681
    Added Reference http://www.securitytracker.com/id/1042004
    Added Reference https://access.redhat.com/errata/RHSA-2018:1192
    Added Reference https://rt.perl.org/Public/Bug/Display.html?id=132227
    Added Reference https://security.gentoo.org/glsa/201909-01
    Added Reference https://usn.ubuntu.com/3625-1/
    Added Reference https://www.debian.org/security/2018/dsa-4172
    Added Reference https://www.oracle.com/security-alerts/cpujul2020.html
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    Aug. 24, 2020

    Action Type Old Value New Value
    Changed CWE CWE-119 CWE-787
  • CVE Modified by [email protected]

    Jul. 15, 2020

    Action Type Old Value New Value
    Added Reference https://www.oracle.com/security-alerts/cpujul2020.html [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 06, 2019

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201909-01 [No Types Assigned]
  • Modified Analysis by [email protected]

    Mar. 18, 2019

    Action Type Old Value New Value
    Changed Reference Type http://www.securitytracker.com/id/1042004 No Types Assigned http://www.securitytracker.com/id/1042004 Third Party Advisory, VDB Entry
    Changed CPE Configuration OR *cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    Changed CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* OR *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
    Changed CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.5:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* OR *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.5:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 31, 2018

    Action Type Old Value New Value
    Added Reference http://www.securitytracker.com/id/1042004 [No Types Assigned]
  • Initial Analysis by [email protected]

    May. 21, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://usn.ubuntu.com/3625-1/ No Types Assigned https://usn.ubuntu.com/3625-1/ Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2018/dsa-4172 No Types Assigned https://www.debian.org/security/2018/dsa-4172 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1192 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1192 Third Party Advisory
    Changed Reference Type http://www.securitytracker.com/id/1040681 No Types Assigned http://www.securitytracker.com/id/1040681 Third Party Advisory, VDB Entry
    Changed Reference Type https://rt.perl.org/Public/Bug/Display.html?id=132227 No Types Assigned https://rt.perl.org/Public/Bug/Display.html?id=132227 Patch, Vendor Advisory
    Added CWE CWE-119
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:* versions from (including) 5.18 up to (including) 5.26
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.5:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    May. 02, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3625-1/ [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 24, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:1192 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 7.5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.88 }} -1.83%

score

0.82379

percentile