<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202301-09">
    <title>protobuf-java: Denial of Service</title>
    <synopsis>A vulnerability has been discovered in protobuf-java which could result in denial of service.</synopsis>
    <product type="ebuild">protobuf-java</product>
    <announced>2023-01-11</announced>
    <revised count="1">2023-01-11</revised>
    <bug>876903</bug>
    <access>remote</access>
    <affected>
        <package name="dev-java/protobuf-java" auto="yes" arch="*">
            <unaffected range="ge">3.20.3</unaffected>
            <vulnerable range="lt">3.20.3</vulnerable>
        </package>
    </affected>
    <background>
        <p>protobuf-java contains the Java bindings for Google&#39;s Protocol Buffers.</p>
    </background>
    <description>
        <p>Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields causes objects to be converted back and forth between mutable and immutable forms, resulting in potentially long garbage collection pauses.</p>
    </description>
    <impact type="low">
        <p>Crafted input can trigger a denial of service via long garbage collection pauses.</p>
    </impact>
    <workaround>
        <p>There is no known workaround at this time.</p>
    </workaround>
    <resolution>
        <p>All protobuf-java users should upgrade to the latest version:</p>
        
        <code>
          # emerge --sync
          # emerge --ask --oneshot --verbose ">=dev-java/protobuf-java-3.20.3"
        </code>
    </resolution>
    <references>
        <uri link="https://nvd.nist.gov/vuln/detail/CVE-2022-3171">CVE-2022-3171</uri>
        <uri link="https://nvd.nist.gov/vuln/detail/CVE-2022-3509">CVE-2022-3509</uri>
        <uri link="https://nvd.nist.gov/vuln/detail/CVE-2022-3510">CVE-2022-3510</uri>
    </references>
    <metadata tag="requester" timestamp="2023-01-11T05:19:53.039305Z">ajak</metadata>
    <metadata tag="submitter" timestamp="2023-01-11T05:19:53.043563Z">ajak</metadata>
</glsa>