{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-3004","published":"2021-01-03T04:15:12.263000Z","last_modified":"2026-06-17T04:04:32.917000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-682"],"cpes":[{"criteria":"cpe:2.3:a:stableyieldcredit_project:stableyieldcredit:-:*:*:*:*:*:*:*","part":"a","vendor":"stableyieldcredit_project","product":"stableyieldcredit"}],"cpes_truncated":false,"vendors":["stableyieldcredit_project"],"products":["stableyieldcredit_project/stableyieldcredit"],"epss":{"score":0.01276,"percentile":0.70025,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2021-3004/","html_en":"/en/cve/CVE-2021-3004/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3004","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3004"},"untrusted":{"vendor_name":"Stableyieldcredit Project","product_name":"Stableyieldcredit","desc_en":"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":[],"references":[{"url":"https://blocksecteam.medium.com/deposit-less-get-more-ycredit-attack-details-f589f71674c3","tags":["Exploit","Third Party Advisory"]},{"url":"https://etherscan.io/address/0xe0839f9b9688a77924208ad509e29952dc660261","tags":["Third Party Advisory"]}]}}