Vulnerability Name:

CVE-2022-27470 (CCN-225983)

Assigned:2022-03-19
Published:2022-03-19
Updated:2022-05-12
Summary:SDL_ttf v2.0.18 and below was discovered to contain an arbitrary memory write via the function TTF_RenderText_Solid(). This vulnerability is triggered via a crafted TTF file.
CVSS v3 Severity:7.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
7.0 High (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:P/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
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)
7.0 High (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:P/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-2022-27470

Source: XF
Type: UNKNOWN
sdlttf-cve202227470-code-exec(225983)

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/libsdl-org/SDL_ttf/commit/db1b41ab8bde6723c24b866e466cad78c2fa0448

Source: CCN
Type: SDL_ttf GIT Repository
Arbitrary memory overwrite occurs when loading glyphs and rendering text with a malformed TTF file. #187

Source: MISC
Type: Exploit, Issue Tracking, Patch, Third Party Advisory
https://github.com/libsdl-org/SDL_ttf/issues/187

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2022-600e0cba93

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2022-857d1f7050

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2022-280ac942be

Vulnerable Configuration:Configuration 1:
  • cpe:/a:libsdl:sdl_ttf:*:*:*:*:*:*:*:* (Version <= 2.0.18)

  • Configuration 2:
  • cpe:/o:fedoraproject:fedora:34:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:35:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:36:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    libsdl sdl ttf *
    fedoraproject fedora 34
    fedoraproject fedora 35
    fedoraproject fedora 36