Lucene search

K
githubGitHub Advisory DatabaseGHSA-F3MQ-99JR-WW4R
HistoryAug 25, 2021 - 8:56 p.m.

Multiple soundness issues in cgc

2021-08-2520:56:16
CWE-657
GitHub Advisory Database
github.com
16
cgc
soundness issues
data races
mutable alias rules
non-atomic writes
software

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

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

CVSS3

5.9

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

EPSS

0.001

Percentile

45.7%

Affected versions of this crate have the following issues:

  1. Ptr implements Send and Sync for all types, this can lead to data
    races by sending non-thread safe types across threads.

  2. Ptr::get violates mutable alias rules by returning multiple mutable
    references to the same object.

  3. Ptr::write uses non-atomic writes to the underlying pointer. This means
    that when used across threads it can lead to data races.

Affected configurations

Vulners
Node
cgc_projectcgcRange0.4.0rust
VendorProductVersionCPE
cgc_projectcgc*cpe:2.3:a:cgc_project:cgc:*:*:*:*:*:rust:*:*

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

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

CVSS3

5.9

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

EPSS

0.001

Percentile

45.7%

Related for GHSA-F3MQ-99JR-WW4R