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
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 package | Versions | Reported by |
|---|---|---|
| Facebook HHVM | 4.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
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV: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
| https://hhvm.com/blog/2021/02/25/security-update.html | vendor-advisory | |
| https://github.com/facebook/hhvm/commit/08193b7f0cd3910256e00d599f0f3eb2519c44ca | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-1921 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2020-1921 changed 2026-06-17 | Public domain |