Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-9rmp-2568-59rv

Опубликовано: 05 дек. 2024
Источник: github
Github: Прошло ревью
CVSS4: 8.7
CVSS3: 7.5

Описание

rPGP Panics on Malformed Untrusted Input

During a security audit, Radically Open Security discovered several reachable edge cases which allow an attacker to trigger rpgp crashes by providing crafted data.

Impact

When processing malformed input, rpgp can run into Rust panics which halt the program.

This can happen in the following scenarios:

  • Parsing OpenPGP messages from binary or armor format
  • Decrypting OpenPGP messages via decrypt_with_password()
  • Parsing or converting public keys
  • Parsing signed cleartext messages from armor format
  • Using malformed private keys to sign or encrypt

Given the affected components, we consider most attack vectors to be reachable by remote attackers during typical use cases of the rpgp library. The attack complexity is low since the malformed messages are generic, short, and require no victim-specific knowledge.

The result is a denial-of-service impact via program termination. There is no impact to confidentiality or integrity security properties.

Versions and Patches

All recent versions are affected by at least some of the above mentioned issues.

The vulnerabilities have been fixed with version 0.14.1. We recommend all users to upgrade to this version.

References

The security audit was made possible by the NLnet Foundation NGI Zero Core grant program for rpgp.

Пакеты

Наименование

pgp

rust
Затронутые версииВерсия исправления

< 0.14.1

0.14.1

EPSS

Процентиль: 51%
0.00279
Низкий

8.7 High

CVSS4

7.5 High

CVSS3

Дефекты

CWE-130
CWE-248
CWE-617

Связанные уязвимости

CVSS3: 7.5
ubuntu
около 1 года назад

rPGP is a pure Rust implementation of OpenPGP. Prior to 0.14.1, rPGP allows an attacker to trigger rpgp crashes by providing crafted data. This vulnerability is fixed in 0.14.1.

CVSS3: 7.5
nvd
около 1 года назад

rPGP is a pure Rust implementation of OpenPGP. Prior to 0.14.1, rPGP allows an attacker to trigger rpgp crashes by providing crafted data. This vulnerability is fixed in 0.14.1.

CVSS3: 7.5
debian
около 1 года назад

rPGP is a pure Rust implementation of OpenPGP. Prior to 0.14.1, rPGP a ...

EPSS

Процентиль: 51%
0.00279
Низкий

8.7 High

CVSS4

7.5 High

CVSS3

Дефекты

CWE-130
CWE-248
CWE-617