Lucene search

K
cve[email protected]CVE-2020-1921
HistoryMar 10, 2021 - 4:15 p.m.

CVE-2020-1921

2021-03-1016:15:14
CWE-121
CWE-787
web.nvd.nist.gov
19
4
cve-2020-1921
crypt function
buffer overflow
hhvm
security vulnerability

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

0.001 Low

EPSS

Percentile

44.4%

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 configurations

NVD
Node
facebookhhvmRange<4.56.3
OR
facebookhhvmRange4.57.04.80.2
OR
facebookhhvmRange4.81.04.93.2
OR
facebookhhvmMatch4.94.0
OR
facebookhhvmMatch4.95.0
OR
facebookhhvmMatch4.96.0
OR
facebookhhvmMatch4.97.0
OR
facebookhhvmMatch4.98.0

CNA Affected

[
  {
    "product": "HHVM",
    "vendor": "Facebook",
    "versions": [
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.98.1",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "4.98.0"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.97.1",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "4.97.0"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.96.1",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "4.96.0"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.95.1",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "4.95.0"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.94.1",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "4.94.0"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.93.2",
        "versionType": "custom"
      },
      {
        "lessThan": "unspecified",
        "status": "affected",
        "version": "4.81.0",
        "versionType": "custom"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.80.2",
        "versionType": "custom"
      },
      {
        "lessThan": "unspecified",
        "status": "affected",
        "version": "4.57.0",
        "versionType": "custom"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.56.3",
        "versionType": "custom"
      },
      {
        "lessThan": "4.56.3",
        "status": "affected",
        "version": "unspecified",
        "versionType": "custom"
      }
    ]
  }
]

Social References

More

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

0.001 Low

EPSS

Percentile

44.4%

Related for CVE-2020-1921