GLSA 202212-07: libksba: Remote Code Execution

Severity:high
Title:libksba: Remote Code Execution
Date:12/28/2022
Bugs: #877453
ID:202212-07

Synopsis

An integer overflow vulnerability has been found in libksba which could result in remote code execution.

Background

Libksba is a X.509 and CMS (PKCS#7) library.

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-libs/libksba < 1.6.3 >= 1.6.3 All supported architectures

Description

An integer overflow in parsing ASN.1 objects could lead to a buffer overflow.

Impact

Crafted ASN.1 objects could trigger an integer overflow and buffer overflow to result in remote code execution.

Workaround

There is no known workaround at this time.

Resolution

All libksba users should upgrade to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose ">=dev-libs/libksba-1.6.3"
        

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202212-07.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!