CVE-2022-40281
An issue was discovered in Samsung TizenRT through 3.0_GBM (and 3.1_PRE). cyassl_connect_step2 in curl/vtls/cyassl.c has a missing X509_free after SSL_get_peer_certificate, leading to information disclosure.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | 0ad | Fix pending | UBUNTU-CVE-2022-40281 | |
| Ubuntu 26.04 | 0ad | Under investigation | UBUNTU-CVE-2022-40281 | |
| Ubuntu 25.10 | 0ad | Will not fix 0ad contains a vendored copy of curl with this same code/function | UBUNTU-CVE-2022-40281 | |
| Ubuntu 24.04 | 0ad | Under investigation | UBUNTU-CVE-2022-40281 | |
| Ubuntu 22.04 | 0ad | Under investigation | UBUNTU-CVE-2022-40281 | |
| Ubuntu 20.04 | 0ad | Will not fix 0ad contains a vendored copy of curl with this same code/function | UBUNTU-CVE-2022-40281 | |
| Ubuntu 18.04 | 0ad | Will not fix 0ad contains a vendored copy of curl with this same code/function | UBUNTU-CVE-2022-40281 | |
| Ubuntu 16.04 | 0ad | Will not fix 0ad contains a vendored copy of curl with this same code/function | UBUNTU-CVE-2022-40281 | |
| Ubuntu 14.04 | 0ad | Will not fix 0ad contains a vendored copy of curl with this same code/function |
References
- https://github.com/Samsung/TizenRT/issues/5626
- https://www.openssl.org/docs/man1.1.1/man3/SSL_get_peer_certificate.html
- https://github.com/Samsung/TizenRT/blob/f8f776dd183246ad8890422c1ee5e8f33ab2aaaf/external/curl/vtls/cyassl.c#L545
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.