Memory Issues Affecting alpm-rs package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.21% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-ALPMRS-608663
  • published26 Aug 2020
  • disclosed20 Aug 2020
  • creditYechan Bae

Introduced: 20 Aug 2020

CVE-2020-35885  (opens in a new tab)
CWE-1202  (opens in a new tab)

How to fix?

There is no fixed version for alpm-rs.

Overview

alpm-rs is an alpm bindings for rust.

Affected versions of this package are vulnerable to Memory Issues. StrcCtx deallocate a memory region that it doesn't own when StrcCtx is created without using StrcCtx::new. This can introduce memory safety issues such as double-free and use-after-free to client programs.

References

CVSS Scores

version 3.1