CVE-2023-51384 Security feature bypass in n/a

Medium 5.5 Published Updated

Attackers can bypass destination constraints on PKCS#11 keys in OpenSSH ssh-agent when multiple keys are returned, potentially allowing unauthorized key usage.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-51384?

CVE-2023-51384 is a medium-severity vulnerability in Debian Debian Linux, published on 18 Dec 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In ssh-agent in OpenSSH before 9.6, certain destination constraints can be incompletely applied. When destination constraints are specified during addition of PKCS#11-hosted private keys, these constraints are only applied to the first key, even if a PKCS#11 token returns multiple keys.

Weakness: CWE-284

Which versions are affected by CVE-2023-51384?

It affects 2 products.

Products include Debian Debian Linux, OpenSSH.

How do I fix CVE-2023-51384?

Upgrade to a fixed version.

Is CVE-2023-51384 being exploited?

There is no known exploitation of CVE-2023-51384 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2023-51384, AZL-32205, AZL-35081, BELL-CVE-2023-51384, DEBIAN-CVE-2023-51384, GHSA-44xq-r8h3-q4q6 and 3 more.

Is CVE-2023-51384 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free