CVE-2021-3004
7.5high
The deposit function in the smart contract implementation for Stable Yield Credit (yCREDIT), an Ethereum token, has certain incorrect calcu…
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 1.28% (higher than 70% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
The _deposit function in the smart contract implementation for Stable Yield Credit (yCREDIT), an Ethereum token, has certain incorrect calculations. An attacker can obtain more yCREDIT tokens than they should.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| stableyieldcredit_project stableyieldcredit | Not specified | NVD |
All scores
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
The _deposit function in the smart contract implementation for Stable Yield Credit (yCREDIT), an Ethereum token, has certain incorrect calculations. An attacker can obtain more yCREDIT tokens than they should.
NVD (es)
La función _deposit en la implementación del contrato inteligente para Stable Yield Credit (yCREDIT), un token de Ethereum, presenta determinados cálculos incorrectos. Un atacante puede obtener más tokens yCREDIT de los que debería.
References
| https://blocksecteam.medium.com/deposit-less-get-more-ycredit-attack-details-f589f71674c3 | exploit, third-party-advisory | |
| https://etherscan.io/address/0xe0839f9b9688a77924208ad509e29952dc660261 | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-3004 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-3004 changed 2026-06-17 | Public domain |