Advisory

DEBIAN-CVE-2025-24898

Also known as: CVE-2025-24898

Summary

The record has no summary.

Details

rust-openssl is 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. The crateopenssl version 0.10.70 fixes the signature of ssl::select_next_proto to properly constrain the output buffer's lifetime to that of both input buffers. Users are advised to upgrade. 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.

Severity

Not rated by the source.

Dates

Published
2025-02-03 18:15 UTC
Modified
2026-09-01 20:05 UTC

Affected packages and fixes

rust-openssl

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

rust-openssl

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 0.10.70-1 (ecosystem)

Fixed versions

0.10.70-1

Fix

  • Fixed version 0.10.70-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

rust-openssl

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 0.10.70-1 (ecosystem)

Fixed versions

0.10.70-1

Fix

  • Fixed version 0.10.70-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences