CVE-2020-1921
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| HHVM | 4.98.1 < unspecified | unaffected | |
| HHVM | 4.98.0 | affected | |
| HHVM | 4.97.1 < unspecified | unaffected | |
| HHVM | 4.97.0 | affected | |
| HHVM | 4.96.1 < unspecified | unaffected | |
| HHVM | 4.96.0 | affected | |
| HHVM | 4.95.1 < unspecified | unaffected | |
| HHVM | 4.95.0 | affected | |
| HHVM | 4.94.1 < unspecified | unaffected | |
| HHVM | 4.94.0 | affected | |
| HHVM | 4.93.2 < unspecified | unaffected | |
| HHVM | 4.81.0 < unspecified | affected | |
| HHVM | 4.80.2 < unspecified | unaffected | |
| HHVM | 4.57.0 < unspecified | affected | |
| HHVM | 4.56.3 < unspecified | unaffected | |
| HHVM | unspecified < 4.56.3 | affected |
Weaknesses
- CWE-121: Stack-based Buffer Overflow (CWE-121)
ADP Enrichment
CVE Program Container
Additional References
- https://hhvm.com/blog/2021/02/25/security-update.html
- https://github.com/facebook/hhvm/commit/08193b7f0cd3910256e00d599f0f3eb2519c44ca
References
- https://hhvm.com/blog/2021/02/25/security-update.html
- https://github.com/facebook/hhvm/commit/08193b7f0cd3910256e00d599f0f3eb2519c44ca
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.