Skip to content

Delegate Transfer Missing Mint Match check

High
austbot published GHSA-5233-j5mj-qxww Feb 8, 2023

Package

cargo token-metadata (Rust)

Affected versions

>1.7.0

Patched versions

1.8.4

Description

The transfer instruction was previously missing a check that asserts the mint matches the mint that is in the metadata account.

This change moves critical assertion logic higher in the flow to apply to all transfer types.

This issue was found by SolShield and reported to Metaplex Security Response Squad.
As a part of our due diligence, our contracts are regularly and iteratively audited.

Severity

High

CVE ID

No known CVE

Weaknesses

No CWEs