OESA-2023-1079

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1079
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2023-1079.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2023-1079
Upstream
Published
2023-02-10T11:04:53Z
Modified
2025-09-03T06:18:56.768941Z
Summary
tpm2-tss security update
Details

tpm2-tss is a software stack supporting Trusted Platform Module(TPM) 2.0 system APIs which provides TPM2.0 specified APIs for applications to access TPM module through kernel TPM drivers.

Security Fix(es):

tpm2-tss is an open source software implementation of the Trusted Computing Group (TCG) Trusted Platform Module (TPM) 2 Software Stack (TSS2). In affected versions Tss2_RC_SetHandler and Tss2_RC_Decode both index into layer_handler with an 8 bit layer number, but the array only has TPM2_ERROR_TSS2_RC_LAYER_COUNT entries, so trying to add a handler for higher-numbered layers or decode a response code with such a layer number reads/writes past the end of the buffer. This Buffer overrun, could result in arbitrary code execution. An example attack would be a MiTM bus attack that returns 0xFFFFFFFF for the RC. Given the common use case of TPM modules an attacker must have local access to the target machine with local system privileges which allows access to the TPM system. Usually TPM access requires administrative privilege.(CVE-2023-22745)

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

Affected packages

openEuler:20.03-LTS-SP1 / tpm2-tss

Package

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

Affected ranges

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

Ecosystem specific

{
    "src": [
        "tpm2-tss-3.0.3-2.oe1.src.rpm"
    ],
    "x86_64": [
        "tpm2-tss-devel-3.0.3-2.oe1.x86_64.rpm",
        "tpm2-tss-debugsource-3.0.3-2.oe1.x86_64.rpm",
        "tpm2-tss-debuginfo-3.0.3-2.oe1.x86_64.rpm",
        "tpm2-tss-3.0.3-2.oe1.x86_64.rpm"
    ],
    "noarch": [
        "tpm2-tss-help-3.0.3-2.oe1.noarch.rpm"
    ],
    "aarch64": [
        "tpm2-tss-3.0.3-2.oe1.aarch64.rpm",
        "tpm2-tss-debugsource-3.0.3-2.oe1.aarch64.rpm",
        "tpm2-tss-debuginfo-3.0.3-2.oe1.aarch64.rpm",
        "tpm2-tss-devel-3.0.3-2.oe1.aarch64.rpm"
    ]
}

openEuler:20.03-LTS-SP3 / tpm2-tss

Package

Name
tpm2-tss
Purl
pkg:rpm/openEuler/tpm2-tss&distro=openEuler-20.03-LTS-SP3

Affected ranges

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

Ecosystem specific

{
    "src": [
        "tpm2-tss-3.0.3-2.oe1.src.rpm"
    ],
    "x86_64": [
        "tpm2-tss-3.0.3-2.oe1.x86_64.rpm",
        "tpm2-tss-devel-3.0.3-2.oe1.x86_64.rpm",
        "tpm2-tss-debuginfo-3.0.3-2.oe1.x86_64.rpm",
        "tpm2-tss-debugsource-3.0.3-2.oe1.x86_64.rpm"
    ],
    "noarch": [
        "tpm2-tss-help-3.0.3-2.oe1.noarch.rpm"
    ],
    "aarch64": [
        "tpm2-tss-3.0.3-2.oe1.aarch64.rpm",
        "tpm2-tss-devel-3.0.3-2.oe1.aarch64.rpm",
        "tpm2-tss-debuginfo-3.0.3-2.oe1.aarch64.rpm",
        "tpm2-tss-debugsource-3.0.3-2.oe1.aarch64.rpm"
    ]
}

openEuler:22.03-LTS / tpm2-tss

Package

Name
tpm2-tss
Purl
pkg:rpm/openEuler/tpm2-tss&distro=openEuler-22.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.0-3.oe2203sp1

Ecosystem specific

{
    "src": [
        "tpm2-tss-3.1.0-3.oe2203.src.rpm",
        "tpm2-tss-3.1.0-3.oe2203sp1.src.rpm"
    ],
    "x86_64": [
        "tpm2-tss-debuginfo-3.1.0-3.oe2203.x86_64.rpm",
        "tpm2-tss-devel-3.1.0-3.oe2203.x86_64.rpm",
        "tpm2-tss-debugsource-3.1.0-3.oe2203.x86_64.rpm",
        "tpm2-tss-3.1.0-3.oe2203.x86_64.rpm",
        "tpm2-tss-debuginfo-3.1.0-3.oe2203sp1.x86_64.rpm",
        "tpm2-tss-debugsource-3.1.0-3.oe2203sp1.x86_64.rpm",
        "tpm2-tss-devel-3.1.0-3.oe2203sp1.x86_64.rpm",
        "tpm2-tss-3.1.0-3.oe2203sp1.x86_64.rpm"
    ],
    "noarch": [
        "tpm2-tss-help-3.1.0-3.oe2203.noarch.rpm",
        "tpm2-tss-help-3.1.0-3.oe2203sp1.noarch.rpm"
    ],
    "aarch64": [
        "tpm2-tss-debuginfo-3.1.0-3.oe2203.aarch64.rpm",
        "tpm2-tss-debugsource-3.1.0-3.oe2203.aarch64.rpm",
        "tpm2-tss-3.1.0-3.oe2203.aarch64.rpm",
        "tpm2-tss-devel-3.1.0-3.oe2203.aarch64.rpm",
        "tpm2-tss-devel-3.1.0-3.oe2203sp1.aarch64.rpm",
        "tpm2-tss-debuginfo-3.1.0-3.oe2203sp1.aarch64.rpm",
        "tpm2-tss-debugsource-3.1.0-3.oe2203sp1.aarch64.rpm",
        "tpm2-tss-3.1.0-3.oe2203sp1.aarch64.rpm"
    ]
}

openEuler:22.03-LTS-SP1 / tpm2-tss

Package

Name
tpm2-tss
Purl
pkg:rpm/openEuler/tpm2-tss&distro=openEuler-22.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.0-3.oe2203sp1

Ecosystem specific

{
    "src": [
        "tpm2-tss-3.1.0-3.oe2203sp1.src.rpm"
    ],
    "x86_64": [
        "tpm2-tss-debuginfo-3.1.0-3.oe2203sp1.x86_64.rpm",
        "tpm2-tss-debugsource-3.1.0-3.oe2203sp1.x86_64.rpm",
        "tpm2-tss-devel-3.1.0-3.oe2203sp1.x86_64.rpm",
        "tpm2-tss-3.1.0-3.oe2203sp1.x86_64.rpm"
    ],
    "noarch": [
        "tpm2-tss-help-3.1.0-3.oe2203sp1.noarch.rpm"
    ],
    "aarch64": [
        "tpm2-tss-devel-3.1.0-3.oe2203sp1.aarch64.rpm",
        "tpm2-tss-debuginfo-3.1.0-3.oe2203sp1.aarch64.rpm",
        "tpm2-tss-debugsource-3.1.0-3.oe2203sp1.aarch64.rpm",
        "tpm2-tss-3.1.0-3.oe2203sp1.aarch64.rpm"
    ]
}