Gentoo 2510 Published by

A libksba security update has been released for Gentoo Linux.



GLSA 202212-07 : libksba: Remote Code Execution


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 202212-07
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: High
Title: libksba: Remote Code Execution
Date: December 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
-------------------------------------------------------------------
1 dev-libs/libksba < 1.6.3 >= 1.6.3

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 ">?v-libs/libksba-1.6.3"

References
=========
[ 1 ] CVE-2022-3515
  https://nvd.nist.gov/vuln/detail/CVE-2022-3515
[ 2 ] CVE-2022-47629
  https://nvd.nist.gov/vuln/detail/CVE-2022-47629

Availability
===========
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  https://security.gentoo.org/glsa/202212-07

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

  https://creativecommons.org/licenses/by-sa/2.5