Vulnerability Name:

CVE-2018-5809 (CCN-154118)

Assigned:2018-05-30
Published:2018-05-30
Updated:2020-08-24
Summary:An error within the "LibRaw::parse_exif()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exploited to cause a stack-based buffer overflow and subsequently execute arbitrary code.
CVSS v3 Severity:8.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
7.7 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
6.8 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-787
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2018-5809

Source: XF
Type: UNKNOWN
libraw-cve20185809-bo(154118)

Source: CCN
Type: LibRaw GIT Repository
Changelog

Source: MISC
Type: Release Notes
https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt

Source: MISC
Type: Patch
https://github.com/LibRaw/LibRaw/commit/fd6330292501983ac75fe4162275794b18445bd9

Source: SECUNIA
Type: Third Party Advisory
81800

Source: CCN
Type: Flexera Software Web site
Secunia Research: LibRaw Multiple Buffer Overflow Vulnerabilities

Source: MISC
Type: Third Party Advisory
https://secuniaresearch.flexerasoftware.com/secunia_research/2018-9/

Vulnerable Configuration:Configuration 1:
  • cpe:/a:libraw:libraw:*:*:*:*:*:*:*:* (Version < 0.18.9)

  • Configuration CCN 1:
  • cpe:/a:libraw:libraw:0.18.8:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.disco:def:201858090000000
    V
    CVE-2018-5809 on Ubuntu 19.04 (disco) - medium.
    2018-12-07
    oval:com.ubuntu.bionic:def:20185809000
    V
    CVE-2018-5809 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-12-07
    oval:com.ubuntu.cosmic:def:201858090000000
    V
    CVE-2018-5809 on Ubuntu 18.10 (cosmic) - medium.
    2018-12-07
    oval:com.ubuntu.cosmic:def:20185809000
    V
    CVE-2018-5809 on Ubuntu 18.10 (cosmic) - medium.
    2018-12-07
    oval:com.ubuntu.bionic:def:201858090000000
    V
    CVE-2018-5809 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-12-07
    oval:com.ubuntu.trusty:def:20185809000
    V
    CVE-2018-5809 on Ubuntu 14.04 LTS (trusty) - medium.
    2018-12-07
    oval:com.ubuntu.xenial:def:201858090000000
    V
    CVE-2018-5809 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-12-07
    oval:com.ubuntu.xenial:def:20185809000
    V
    CVE-2018-5809 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-12-07
    BACK
    libraw libraw *
    libraw libraw 0.18.8