CVE-2020-1921
JSON

7.5high

In the crypt function, we attempt to null terminate a buffer using the size of the input salt without validating that the offset is within…

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
1.21% (higher than 69% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
facebook

Description

In the crypt function, we attempt to null terminate a buffer using the size of the input salt without validating that the offset is within the buffer. This issue affects HHVM versions prior to 4.56.3, all versions between 4.57.0 and 4.80.1, all versions between 4.81.0 and 4.93.1, and versions 4.94.0, 4.95.0, 4.96.0, 4.97.0, 4.98.0.

Affected

Product or packageVersionsReported by
Facebook HHVM4.98.0, 4.97.0, 4.96.0, 4.95.0, 4.94.0, from 4.81.0 before unspecified, from 4.57.0 before unspecified, from unspecified before 4.56.3 and 3 more
Not affected: from 4.98.1 before unspecified, from 4.97.1 before unspecified, from 4.96.1 before unspecified, from 4.95.1 before unspecified, from 4.94.1 before unspecified, from 4.93.2 before unspecified
CVE List, NVD

All scores

NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

In the crypt function, we attempt to null terminate a buffer using the size of the input salt without validating that the offset is within the buffer. This issue affects HHVM versions prior to 4.56.3, all versions between 4.57.0 and 4.80.1, all versions between 4.81.0 and 4.93.1, and versions 4.94.0, 4.95.0, 4.96.0, 4.97.0, 4.98.0.

NVD (es)

En la función crypt, intentamos anular la finalización de un búfer usando el tamaño de la sal de entrada sin comprobar que el desplazamiento esté dentro del búfer. Este problema afecta a HHVM versiones anteriores a 4.56.3, todas las versiones entre 4.57.0 y 4.80.1, todas las versiones entre 4.81.0 y 4.93.1 y versiones 4.94.0, 4.95.0, 4.96.0, 4.97.0 , 4.98.0

References

Sources

SourceRecordLicence
CVE ListCVE-2020-1921 changed 2024-08-04CVE Terms of Use
NVDCVE-2020-1921 changed 2026-06-17Public domain