Debian dla-4049 : librust-openssl-dev - security update

medium Nessus Plugin ID 216047

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 11 host has a package installed that is affected by a vulnerability as referenced in the dla-4049 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-4049-1 [email protected] https://www.debian.org/lts/security/ Andrej Shadura February 11, 2025 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : rust-openssl Version : 0.10.29-1+deb11u1 CVE ID : CVE-2025-24898

A vulnerability has been discovered in rust-openssl, a set of OpenSSL bindings for the Rust programming language.

In affected versions ssl::select_next_proto can return a slice pointing into the server argument's buffer but with a lifetime bound to the client argument. In situations where the sever buffer's lifetime is shorter than the client buffer's, this can cause a use after free.

This could cause the server to crash or to return arbitrary memory contents to the client. This security update fixes the signature of ssl::select_next_proto to properly constrain the output buffer's lifetime to that of both input buffers. In standard usage of ssl::select_next_proto in the callback passed to SslContextBuilder::set_alpn_select_callback, code is only affected if the server buffer is constructed within the callback.

For Debian 11 bullseye, this problem has been fixed in version 0.10.29-1+deb11u1.

We recommend that you upgrade your rust-openssl packages.

For the detailed security status of rust-openssl please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/rust-openssl

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the librust-openssl-dev packages.

See Also

http://www.nessus.org/u?85d2128e

https://security-tracker.debian.org/tracker/CVE-2025-24898

https://packages.debian.org/source/bullseye/rust-openssl

Plugin Details

Severity: Medium

ID: 216047

File Name: debian_DLA-4049.nasl

Version: 1.1

Type: local

Agent: unix

Published: 2/11/2025

Updated: 2/11/2025

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P

CVSS Score Source: CVE-2025-24898

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.3

Threat Score: 1.7

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:librust-openssl-dev

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 2/11/2025

Vulnerability Publication Date: 2/2/2025

Reference Information

CVE: CVE-2025-24898