Описание
The function PEM_read_bio_ex() reads a PEM file from a BIO and parses and decodes the "name" (e.g. "CERTIFICATE"), any header data and the payload data. If the function succeeds then the "name_out", "header" and "data" arguments are populated with pointers to buffers containing the relevant decoded data. The caller is responsible for freeing those buffers. It is possible to construct a PEM file that results in 0 bytes of payload data. In this case PEM_read_bio_ex() will return a failure code but will populate the header argument with a pointer to a buffer that has already been freed. If the caller also frees this buffer then a double free will occur. This will most likely lead to a crash. This could be exploited by an attacker who has the ability to supply malicious PEM files for parsing to achieve a denial of service attack. The functions PEM_read_bio() and PEM_read() are simple wrappers around PEM_read_bio_ex() and therefore these functions are also directly affected. These functi...
Релиз | Статус | Примечание |
---|---|---|
bionic | ignored | end of standard support, was needs-triage |
devel | not-affected | 2023.05-1 |
esm-apps/bionic | needs-triage | |
esm-apps/xenial | needs-triage | |
esm-infra/focal | needs-triage | |
focal | ignored | end of standard support, was needs-triage |
jammy | needs-triage | |
kinetic | ignored | end of life, was needs-triage |
lunar | ignored | end of life, was needs-triage |
mantic | not-affected | 2023.05-1 |
Показывать по
Релиз | Статус | Примечание |
---|---|---|
bionic | not-affected | uses system openssl1.0 |
devel | not-affected | uses system openssl |
esm-apps/bionic | not-affected | uses system openssl1.0 |
esm-apps/focal | not-affected | uses system openssl |
esm-apps/jammy | released | 12.22.9~dfsg-1ubuntu3.3 |
esm-apps/noble | not-affected | uses system openssl |
esm-apps/xenial | not-affected | code not present |
esm-infra-legacy/trusty | not-affected | uses system openssl |
focal | not-affected | uses system openssl |
jammy | released | 12.22.9~dfsg-1ubuntu3.3 |
Показывать по
Релиз | Статус | Примечание |
---|---|---|
bionic | released | 1.1.1-1ubuntu2.1~18.04.21 |
devel | released | 3.0.8-1ubuntu1 |
esm-infra-legacy/trusty | not-affected | |
esm-infra/bionic | not-affected | 1.1.1-1ubuntu2.1~18.04.21 |
esm-infra/focal | not-affected | 1.1.1f-1ubuntu2.17 |
esm-infra/xenial | not-affected | |
fips-preview/jammy | released | 3.0.2-0ubuntu1.8+fips.1 |
fips-updates/bionic | released | 1.1.1-1ubuntu2.fips.2.1~18.04.21 |
fips-updates/focal | released | 1.1.1f-1ubuntu2.fips.17 |
fips-updates/jammy | released | 3.0.2-0ubuntu1.8+fips.1 |
Показывать по
Релиз | Статус | Примечание |
---|---|---|
bionic | not-affected | |
esm-infra/bionic | not-affected | |
esm-infra/focal | DNE | |
focal | DNE | |
jammy | DNE | |
kinetic | DNE | |
trusty | DNE | |
upstream | needs-triage | |
xenial | DNE |
Показывать по
EPSS
7.5 High
CVSS3
Связанные уязвимости
The function PEM_read_bio_ex() reads a PEM file from a BIO and parses and decodes the "name" (e.g. "CERTIFICATE"), any header data and the payload data. If the function succeeds then the "name_out", "header" and "data" arguments are populated with pointers to buffers containing the relevant decoded data. The caller is responsible for freeing those buffers. It is possible to construct a PEM file that results in 0 bytes of payload data. In this case PEM_read_bio_ex() will return a failure code but will populate the header argument with a pointer to a buffer that has already been freed. If the caller also frees this buffer then a double free will occur. This will most likely lead to a crash. This could be exploited by an attacker who has the ability to supply malicious PEM files for parsing to achieve a denial of service attack. The functions PEM_read_bio() and PEM_read() are simple wrappers around PEM_read_bio_ex() and therefore these functions are also directly affected. These functi...
The function PEM_read_bio_ex() reads a PEM file from a BIO and parses and decodes the "name" (e.g. "CERTIFICATE"), any header data and the payload data. If the function succeeds then the "name_out", "header" and "data" arguments are populated with pointers to buffers containing the relevant decoded data. The caller is responsible for freeing those buffers. It is possible to construct a PEM file that results in 0 bytes of payload data. In this case PEM_read_bio_ex() will return a failure code but will populate the header argument with a pointer to a buffer that has already been freed. If the caller also frees this buffer then a double free will occur. This will most likely lead to a crash. This could be exploited by an attacker who has the ability to supply malicious PEM files for parsing to achieve a denial of service attack. The functions PEM_read_bio() and PEM_read() are simple wrappers around PEM_read_bio_ex() and therefore these functions are also directly affected. These functio
The function PEM_read_bio_ex() reads a PEM file from a BIO and parses ...
openssl-src contains Double free after calling `PEM_read_bio_ex`
EPSS
7.5 High
CVSS3