MGASA-2023-0050 - Updated tpm2-tss packages fix security vulnerability

Publication date: 14 Feb 2023
URL: https://advisories.mageia.org/MGASA-2023-0050.html
Type: security
Affected Mageia releases: 8
CVE: CVE-2023-22745

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. (CVE-2023-22745)

References:
- https://bugs.mageia.org/show_bug.cgi?id=31532
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/GDNOV2RNQ7XMOQZ3PV7PHYP2FMJHV2AB/
- https://github.com/tpm2-software/tpm2-tss/security/advisories/GHSA-4j3v-fh23-vx67
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-22745

SRPMS:
- 8/core/tpm2-tss-3.2.2-1.mga8

Mageia 2023-0050: tpm2-tss security update

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 ha...

Summary

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. (CVE-2023-22745)

References

- https://bugs.mageia.org/show_bug.cgi?id=31532

- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/GDNOV2RNQ7XMOQZ3PV7PHYP2FMJHV2AB/

- https://github.com/tpm2-software/tpm2-tss/security/advisories/GHSA-4j3v-fh23-vx67

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-22745

Resolution

MGASA-2023-0050 - Updated tpm2-tss packages fix security vulnerability

SRPMS

- 8/core/tpm2-tss-3.2.2-1.mga8

Severity
Publication date: 14 Feb 2023
URL: https://advisories.mageia.org/MGASA-2023-0050.html
Type: security
CVE: CVE-2023-22745

Related News