Vulnerability Name:

CVE-2017-12814 (CCN-132782)

Assigned:2017-09-15
Published:2017-09-15
Updated:2020-07-15
Summary:Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl before 5.24.3-RC1 and 5.26.x before 5.26.1-RC1 on Windows allows attackers to execute arbitrary code via a long environment variable.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
5.9 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
5.2 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
4.6 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-119
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2017-12814

Source: BID
Type: Third Party Advisory, VDB Entry
101051

Source: CCN
Type: BID-101051
Perl CVE-2017-12814 Stack Based Buffer Overflow Vulnerability

Source: XF
Type: UNKNOWN
perl-cve201712814-cperlhostadd-bo(132782)

Source: CCN
Type: Perl 5 Web site
Bump to RC1

Source: CONFIRM
Type: Release Notes, Vendor Advisory
https://perl5.git.perl.org/perl.git/log/refs/tags/v5.24.3-RC1

Source: CONFIRM
Type: Release Notes, Vendor Advisory
https://perl5.git.perl.org/perl.git/log/refs/tags/v5.26.1-RC1

Source: CONFIRM
Type: Exploit, Patch, Vendor Advisory
https://rt.perl.org/Public/Bug/Display.html?id=131665

Source: CONFIRM
Type: UNKNOWN
https://security.netapp.com/advisory/ntap-20180426-0001/

Source: MISC
Type: UNKNOWN
https://www.oracle.com/security-alerts/cpujul2020.html

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2017-12814

Vulnerable Configuration:Configuration 1:
  • cpe:/a:perl:perl:*:*:*:*:*:*:*:* (Version <= 5.24.2)
  • OR cpe:/a:perl:perl:5.26.0:*:*:*:*:*:*:*
  • AND
  • cpe:/o:microsoft:windows:-:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:perl:perl:5.24.2:*:*:*:*:*:*:*
  • OR cpe:/a:perl:perl:5.26.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:113107
    P
    perl-32bit-5.34.0-1.1 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:106542
    P
    perl-32bit-5.34.0-1.1 on GA media (Moderate)
    2021-10-01
    oval:com.ubuntu.trusty:def:201712814000
    V
    CVE-2017-12814 on Ubuntu 14.04 LTS (trusty) - medium.
    2017-09-27
    oval:com.ubuntu.xenial:def:201712814000
    V
    CVE-2017-12814 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-09-27
    oval:com.ubuntu.xenial:def:2017128140000000
    V
    CVE-2017-12814 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-09-27
    BACK
    perl perl *
    perl perl 5.26.0
    microsoft windows -
    perl perl 5.24.2
    perl perl 5.26.0