Access Restriction Bypass Affecting mpl-candy-machine package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

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

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 Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-MPLCANDYMACHINE-3167944
  • published13 Dec 2022
  • disclosed12 Dec 2022
  • creditUnknown

Introduced: 12 Dec 2022

CVE NOT AVAILABLE CWE-284  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

mpl-candy-machine is a package for programmatic and trustless NFT drops

Affected versions of this package are vulnerable to Access Restriction Bypass in the handle_set_collection_during_mint() function, which allows attackers to mint NFTs to an arbitrary collection, even if the contract is out of NFTs.

References

CVSS Scores

version 3.1