OESA-2022-1959

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1959
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1959.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2022-1959
Upstream
Published
2022-09-23T11:04:21Z
Modified
2025-09-03T06:17:29.276347Z
Summary
libtpms security update
Details

A library providing TPM functionality for VMs. Targeted for integration into Qemu.

Security Fix(es):

A flaw was found in libtpms in versions before 0.8.0. The TPM 2 implementation returns 2048 bit keys with ~1984 bit strength due to a bug in the TCG specification. The bug is in the key creation algorithm in RsaAdjustPrimeCandidate(), which is called before the prime number check. The highest threat from this vulnerability is to data confidentiality.(CVE-2021-3505)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / libtpms

Package

Name
libtpms
Purl
pkg:rpm/openEuler/libtpms&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.7.3-7.oe1

Ecosystem specific

{
    "aarch64": [
        "libtpms-debugsource-0.7.3-7.oe1.aarch64.rpm",
        "libtpms-devel-0.7.3-7.oe1.aarch64.rpm",
        "libtpms-0.7.3-7.oe1.aarch64.rpm",
        "libtpms-debuginfo-0.7.3-7.oe1.aarch64.rpm"
    ],
    "src": [
        "libtpms-0.7.3-7.oe1.src.rpm"
    ],
    "x86_64": [
        "libtpms-0.7.3-7.oe1.x86_64.rpm",
        "libtpms-devel-0.7.3-7.oe1.x86_64.rpm",
        "libtpms-debugsource-0.7.3-7.oe1.x86_64.rpm",
        "libtpms-debuginfo-0.7.3-7.oe1.x86_64.rpm"
    ]
}