summaryrefslogtreecommitdiff
path: root/metadata/glsa/glsa-202407-02.xml
blob: 52b617ef1c09b7cfe0aa5c46f3a90bb25fef91ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202407-02">
    <title>SDL_ttf: Arbitrary Memory Write</title>
    <synopsis>A vulnerability has been discovered in SDL_ttf, which can lead to arbitrary memory writes.</synopsis>
    <product type="ebuild">sdl2-ttf</product>
    <announced>2024-07-01</announced>
    <revised count="1">2024-07-01</revised>
    <bug>843434</bug>
    <access>local and remote</access>
    <affected>
        <package name="media-libs/sdl2-ttf" auto="yes" arch="*">
            <unaffected range="ge">2.20.0</unaffected>
            <vulnerable range="lt">2.20.0</vulnerable>
        </package>
    </affected>
    <background>
        <p>SDL_ttf is a wrapper around the FreeType and Harfbuzz libraries, allowing you to use TrueType fonts to render text in SDL applications.</p>
    </background>
    <description>
        <p>A vulnerability has been discovered in SDL_ttf. Please review the CVE identifier referenced below for details.</p>
    </description>
    <impact type="normal">
        <p>SDL_ttf was discovered to contain an arbitrary memory write via the function TTF_RenderText_Solid(). This vulnerability is triggered via a crafted TTF file.</p>
    </impact>
    <workaround>
        <p>There is no known workaround at this time.</p>
    </workaround>
    <resolution>
        <p>All SDL_ttf users should upgrade to the latest version:</p>
        
        <code>
          # emerge --sync
          # emerge --ask --oneshot --verbose ">=media-libs/sdl2-ttf-2.20.0"
        </code>
    </resolution>
    <references>
        <uri link="https://nvd.nist.gov/vuln/detail/CVE-2022-27470">CVE-2022-27470</uri>
    </references>
    <metadata tag="requester" timestamp="2024-07-01T05:56:15.409960Z">graaff</metadata>
    <metadata tag="submitter" timestamp="2024-07-01T05:56:15.413752Z">ajak</metadata>
</glsa>