Lucene search

K
githubGitHub Advisory DatabaseGHSA-7J44-FV4X-79G9
HistoryAug 25, 2021 - 8:44 p.m.

Improper Input Validation in once_cell

2021-08-2520:44:18
CWE-20
GitHub Advisory Database
github.com
5
improper input validation
once_cell
lazy initialization
panic issue
std::hints::unreachable_unchecked
applications with panic = "abort
subsequent dereferences

CVSS2

5

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

CVSS3

7.5

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

EPSS

0.001

Percentile

49.3%

If during the first dereference of Lazy the initialization function panics, subsequent dereferences will execute std::hints::unreachable_unchecked. Applications with panic = “abort” are not affected, as there will be no subsequent dereferences.

Affected configurations

Vulners
Node
once_cell_projectonce_cellRange0.2.51.0.1
VendorProductVersionCPE
once_cell_projectonce_cell*cpe:2.3:a:once_cell_project:once_cell:*:*:*:*:*:*:*:*

CVSS2

5

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

CVSS3

7.5

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

EPSS

0.001

Percentile

49.3%