{"id":"CVE-2021-3004","aliases":["EUVD-2021-26359","GHSA-vw53-rmxx-2xmr"],"status":"published","title":"The _deposit function in the smart contract implementation for Stable Yield Credit (yCREDIT), an...","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01276,"percentile":0.70188,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-682"],"published":"2021-01-03T03:20:10Z","modified":"2026-06-17T04:04:32Z","products":[{"vendor":"stableyieldcredit_project","product":"stableyieldcredit"}],"references":[{"url":"https://blocksecteam.medium.com/deposit-less-get-more-ycredit-attack-details-f589f71674c3","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://etherscan.io/address/0xe0839f9b9688a77924208ad509e29952dc660261","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3004"},{"url":"https://github.com/advisories/GHSA-vw53-rmxx-2xmr"}],"sources":{"cve":[{"id":"CVE-2021-3004","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.","status":"published","published":"2021-01-03T03:20:10Z","modified":"2024-08-03T16:45:50.628Z","updated_at":"2026-11-02T14:33:03.671751Z"}],"euvd":[{"id":"EUVD-2021-26359","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.","status":"published","published":"2021-01-03T03:20:10Z","modified":"2024-08-03T16:45:50Z","updated_at":"2026-11-03T03:25:14.091701Z"}],"ghsa":[{"id":"GHSA-vw53-rmxx-2xmr","title":"The _deposit function in the smart contract implementation for Stable Yield Credit (yCREDIT), an...","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.","status":"published","published":"2022-05-24T17:37:52Z","modified":"2023-01-29T05:05:13Z","cwes":["CWE-682"],"updated_at":"2026-11-02T14:45:44.421144Z"}],"nvd":[{"id":"CVE-2021-3004","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.","status":"published","published":"2021-01-03T04:15:12.263Z","modified":"2026-06-17T04:04:32.917Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-682"],"updated_at":"2026-11-02T14:06:49.284888Z"}]}}
