Bug 38068

Summary: libxfont: Multiple issues (4.1)
Product: UCS Reporter: Arvid Requate <requate>
Component: Security updatesAssignee: UCS maintainers <ucs-maintainers>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P5 Flags: requate: Patch_Available+
Version: UCS 4.1   
Target Milestone: UCS 4.1-x-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: Security Issue What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score: 6.9 (AV:L/AC:M/Au:N/C:C/I:C/A:C)
Bug Depends on: 45621    
Bug Blocks:    

Description Arvid Requate univentionstaff 2015-03-17 17:40:20 CET
CVE-2015-1802 CVE-2015-1803 CVE-2015-1804:

Possible privilege escalation of local users against X server due to insufficient range checks in libxfont during parsing of BDF font files.
Comment 1 Arvid Requate univentionstaff 2015-03-17 17:47:37 CET
More details:

CVE-2015-1803:

Possible X server crash due to insufficient recognition of invalid BDF font data.

CVE-2015-1804:

Out-of-bounds memory read due to insufficient boundary checking on BDF font data.
Comment 2 Arvid Requate univentionstaff 2015-05-06 16:51:14 CEST
Fixed in upstream Debian package version 1:1.4.5-5
Comment 3 Arvid Requate univentionstaff 2017-10-30 19:53:55 CET
Upstream Debian package version 1:1.4.5-5+deb7u1 fixes:

* In the PatternMatch function in fontfile/fontdir.c in libXfont through 1.5.2 and 2.x before 2.0.2, an attacker with access to an X connection can cause a buffer over-read during pattern matching of fonts, leading to information disclosure or a crash (denial of service). This occurs because '\0' characters are incorrectly skipped in situations involving ? characters. (CVE-2017-13720)
* In the pcfGetProperties function in bitmap/pcfread.c in libXfont through 1.5.2 and 2.x before 2.0.2, a missing boundary check (for PCF files) could be used by local attackers authenticated to an Xserver for a buffer over-read, for information disclosure or a crash of the X server. (CVE-2017-13722)
Comment 4 Arvid Requate univentionstaff 2018-04-17 15:56:08 CEST
This issue has been filed against UCS 4.1.

UCS 4.1 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.