Lucene search

K
cveFacebookCVE-2020-1900
HistoryMar 11, 2021 - 1:15 a.m.

CVE-2020-1900

2021-03-1101:15:14
CWE-416
facebook
web.nvd.nist.gov
54
6
cve
2020
1900
hhvm
unserialization
object
dynamic properties
array resizing
security advisory

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

9.3

Confidence

High

EPSS

0.002

Percentile

64.7%

When unserializing an object with dynamic properties HHVM needs to pre-reserve the full size of the dynamic property array before inserting anything into it. Otherwise the array might resize, invalidating previously stored references. This pre-reservation was not occurring in HHVM prior to v4.32.3, between versions 4.33.0 and 4.56.0, 4.57.0, 4.58.0, 4.58.1, 4.59.0, 4.60.0, 4.61.0, 4.62.0.

Affected configurations

Nvd
Node
facebookhhvmRange<4.32.3
OR
facebookhhvmRange4.33.0–4.56.1
OR
facebookhhvmMatch4.57.0
OR
facebookhhvmMatch4.58.0
OR
facebookhhvmMatch4.58.1
OR
facebookhhvmMatch4.59.0
OR
facebookhhvmMatch4.60.0
OR
facebookhhvmMatch4.61.0
OR
facebookhhvmMatch4.62.0
VendorProductVersionCPE
facebookhhvm*cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*
facebookhhvm4.57.0cpe:2.3:a:facebook:hhvm:4.57.0:*:*:*:*:*:*:*
facebookhhvm4.58.0cpe:2.3:a:facebook:hhvm:4.58.0:*:*:*:*:*:*:*
facebookhhvm4.58.1cpe:2.3:a:facebook:hhvm:4.58.1:*:*:*:*:*:*:*
facebookhhvm4.59.0cpe:2.3:a:facebook:hhvm:4.59.0:*:*:*:*:*:*:*
facebookhhvm4.60.0cpe:2.3:a:facebook:hhvm:4.60.0:*:*:*:*:*:*:*
facebookhhvm4.61.0cpe:2.3:a:facebook:hhvm:4.61.0:*:*:*:*:*:*:*
facebookhhvm4.62.0cpe:2.3:a:facebook:hhvm:4.62.0:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "HHVM",
    "vendor": "Facebook",
    "versions": [
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.62.1",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "4.62.0"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.61.1",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "4.61.0"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.60.1",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "4.60.0"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.59.1",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "4.59.0"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.58.2",
        "versionType": "custom"
      },
      {
        "lessThan": "unspecified",
        "status": "affected",
        "version": "4.58.0",
        "versionType": "custom"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.57.1",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "4.57.0"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.56.1",
        "versionType": "custom"
      },
      {
        "lessThan": "unspecified",
        "status": "affected",
        "version": "4.33.0",
        "versionType": "custom"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.32.3",
        "versionType": "custom"
      },
      {
        "lessThan": "4.32.3",
        "status": "affected",
        "version": "unspecified",
        "versionType": "custom"
      }
    ]
  }
]

Social References

More

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

9.3

Confidence

High

EPSS

0.002

Percentile

64.7%

Related for CVE-2020-1900