<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202209-03">
    <title>OpenSC: Multiple Vulnerabilities</title>
    <synopsis>Multiple vulnerabilities have been discovered in OpenSC, the worst of which could result in the execution of arbitrary code.</synopsis>
    <product type="ebuild">opensc</product>
    <announced>2022-09-07</announced>
    <revised count="1">2022-09-07</revised>
    <bug>839357</bug>
    <access>remote</access>
    <affected>
        <package name="dev-libs/opensc" auto="yes" arch="*">
            <unaffected range="ge">0.22.0</unaffected>
            <vulnerable range="lt">0.22.0</vulnerable>
        </package>
    </affected>
    <background>
        <p>OpenSC contains tools and libraries for smart cards.</p>
    </background>
    <description>
        <p>Multiple vulnerabilities have been discovered in OpenSC. Please review the CVE identifiers referenced below for details.</p>
    </description>
    <impact type="normal">
        <p>Please review the referenced CVE identifiers for details.</p>
    </impact>
    <workaround>
        <p>There is no known workaround at this time.</p>
    </workaround>
    <resolution>
        <p>All OpenSC users should upgrade to the latest version:</p>
        
        <code>
          # emerge --sync
          # emerge --ask --oneshot --verbose ">=dev-libs/opensc-0.22.0"
        </code>
    </resolution>
    <references>
        <uri link="https://nvd.nist.gov/vuln/detail/CVE-2021-42778">CVE-2021-42778</uri>
        <uri link="https://nvd.nist.gov/vuln/detail/CVE-2021-42779">CVE-2021-42779</uri>
        <uri link="https://nvd.nist.gov/vuln/detail/CVE-2021-42780">CVE-2021-42780</uri>
        <uri link="https://nvd.nist.gov/vuln/detail/CVE-2021-42781">CVE-2021-42781</uri>
        <uri link="https://nvd.nist.gov/vuln/detail/CVE-2021-42782">CVE-2021-42782</uri>
    </references>
    <metadata tag="requester" timestamp="2022-09-07T02:52:29.199741Z">ajak</metadata>
    <metadata tag="submitter" timestamp="2022-09-07T02:52:29.203955Z">ajak</metadata>
</glsa>