Gentoo 2481 Published by

A libksba security update has been released for Gentoo Linux.



GLSA 202210-23 : libksba: Remote Code Execution


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 202210-23
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: High
Title: libksba: Remote Code Execution
Date: October 31, 2022
Bugs: #877453
ID: 202210-23

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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.2 >= 1.6.2

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.2"

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

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

  https://security.gentoo.org/glsa/202210-23

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