~ / search / GHSA-96w3-p368-4h8c

GHSA-96w3-p368-4h8c

Use after free in internment

Source: GitHub Advisory Database (reviewed) High CVE-2020-35874

Packages

EcosystemPackageAffectedFixed in
crates.io internment >= 0.3.12, < 0.4.0 0.4.0

Details

As written in the advisory (Markdown source, shown as plain text).

ArcIntern::drop has a race condition where it can release memory which is about to get another user. The new user will get a reference to freed memory. This was fixed by serializing access to an interned object while it is being deallocated. Versions prior to 0.3.12 used stronger locking which avoided the problem.

References

External links from the advisory. They lead to third-party sites.