Lucene search

K
cvelistGitHub_MCVELIST:CVE-2023-39533
HistoryAug 08, 2023 - 6:50 p.m.

CVE-2023-39533 libp2p nodes vulnerable to attack using large RSA keys

2023-08-0818:50:05
CWE-770
GitHub_M
www.cve.org
1
cve-2023-39533
libp2p networking stack
resource exhaustion attack
signature verification
crypto module
noise handshake
x509 extension
rsa keys
patch releases
go compiler

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.0%

go-libp2p is the Go implementation of the libp2p Networking Stack. Prior to versions 0.27.8, 0.28.2, and 0.29.1 malicious peer can use large RSA keys to run a resource exhaustion attack & force a node to spend time doing signature verification of the large key. This vulnerability is present in the core/crypto module of go-libp2p and can occur during the Noise handshake and the libp2p x509 extension verification step. To prevent this attack, go-libp2p versions 0.27.8, 0.28.2, and 0.29.1 restrict RSA keys to <= 8192 bits. To protect one’s application, it is necessary to update to these patch releases and to use the updated Go compiler in 1.20.7 or 1.19.12. There are no known workarounds for this issue.

CNA Affected

[
  {
    "vendor": "libp2p",
    "product": "go-libp2p",
    "versions": [
      {
        "version": "< 0.27.8",
        "status": "affected"
      },
      {
        "version": ">= 0.28.0, < 0.28.2",
        "status": "affected"
      },
      {
        "version": "= 0.29.0",
        "status": "affected"
      }
    ]
  }
]

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.0%