{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-45714","id":"CVE-2021-45714","title":"Use After Free in rusqlite","description":"An issue was discovered in the rusqlite crate 0.25.x before 0.25.4 and 0.26.x before 0.26.2 for Rust. create_aggregate_function has a use-after-free.","descriptionLong":"An issue was discovered in the rusqlite crate 0.25.x before 0.25.4 and 0.26.x before 0.26.2 for Rust. create_aggregate_function has a use-after-free.","published":"2021-12-26T21:46:28.000Z","updated":"2026-11-10T02:30:55.392719763Z","reserved":"2021-12-26T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"rusqlite","purl":"pkg:cargo/rusqlite","ranges":[">=0.25.0 <0.25.4",">=0.26.0 <0.26.2"],"fixed":["0.25.4","0.26.2"],"advisory":"GHSA-4qr3-m7ww-hh9g"}],"cwes":["CWE-416"],"aliases":["CVE-2021-45713","CVE-2021-45715","CVE-2021-45716","CVE-2021-45717","CVE-2021-45718","CVE-2021-45719","GHSA-4qr3-m7ww-hh9g","GHSA-87xh-9q6h-r5cc","GHSA-92cx-4xm7-jr9m","GHSA-cm8g-544f-p9x9","GHSA-f6f2-3w33-54r9","GHSA-g4g4-3pqw-8m7f","GHSA-g87r-23vw-7f87","GHSA-q89g-4vhh-mvvm","RUSTSEC-2021-0128"],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0128.html","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/rusqlite/RUSTSEC-2021-0128.md","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45717","tags":["advisory"]},{"url":"https://github.com/rusqlite/rusqlite/issues/1048","tags":["web"]},{"url":"https://github.com/rusqlite/rusqlite","tags":["package","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45715","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45713","tags":["advisory"]},{"url":"https://github.com/rusqlite/rusqlite/pull/1049","tags":["web"]},{"url":"https://github.com/rusqlite/rusqlite/commit/30f8c8c502675011603c4d066396bf317fd49e71","tags":["web"]},{"url":"https://github.com/rusqlite/rusqlite/commit/612158507e90f41d409cd0fa80eb21c992b1bc08","tags":["web"]},{"url":"https://github.com/rusqlite/rusqlite/commit/934e0c709e156753881da98b32e9853f9ffe4a1b","tags":["web"]},{"url":"https://github.com/rusqlite/rusqlite/commit/f4f95f8caf9fd53bffd0c19530be2484c644cc16","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45716","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45714","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45718","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45719","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01219,"epssPercentile":0.69388,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-45714","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45714","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-45714","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-4qr3-m7ww-hh9g","ok":true,"note":"GHSA-4qr3-m7ww-hh9g"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-87xh-9q6h-r5cc","ok":true,"note":"GHSA-87xh-9q6h-r5cc"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-92cx-4xm7-jr9m","ok":true,"note":"GHSA-92cx-4xm7-jr9m"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cm8g-544f-p9x9","ok":true,"note":"GHSA-cm8g-544f-p9x9"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-f6f2-3w33-54r9","ok":true,"note":"GHSA-f6f2-3w33-54r9"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g4g4-3pqw-8m7f","ok":true,"note":"GHSA-g4g4-3pqw-8m7f"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g87r-23vw-7f87","ok":true,"note":"GHSA-g87r-23vw-7f87"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q89g-4vhh-mvvm","ok":true,"note":"GHSA-q89g-4vhh-mvvm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-45714","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}