{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-31402","id":"CVE-2021-31402","title":"dio vulnerable to CRLF injection with HTTP method string","description":"The dio package 4.0.0 for Dart allows CRLF injection if the attacker controls the HTTP method string, a different vulnerability than CVE-2020-35669.","descriptionLong":"The dio package 4.0.0 for Dart allows CRLF injection if the attacker controls the HTTP method string, a different vulnerability than CVE-2020-35669.","published":"2021-04-15T18:18:52.000Z","updated":"2026-10-20T10:54:40.496067469Z","reserved":"2021-04-15T00: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:H/I:N/A:N","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:H/I:N/A:N","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:H/I:N/A:N","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:H/I:N/A:N","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","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":"Pub","name":"dio","purl":"pkg:pub/dio","ranges":["<5.0.0"],"fixed":["5.0.0"],"advisory":"GHSA-9324-jv53-9cc8"}],"cwes":["CWE-74","CWE-93"],"aliases":["GHSA-9324-jv53-9cc8"],"references":[{"url":"https://github.com/flutterchina/dio/issues/1130","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/cfug/dio/security/advisories/GHSA-9324-jv53-9cc8","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31402","tags":["advisory"]},{"url":"https://github.com/cfug/dio/issues/1752","tags":["web"]},{"url":"https://github.com/cfug/dio/commit/927f79e93ba39f3c3a12c190624a55653d577984","tags":["web"]},{"url":"https://github.com/cfug/dio","tags":["package"]},{"url":"https://osv.dev/GHSA-jwpw-q68h-r678","tags":["web"]},{"url":"https://security.snyk.io/vuln/SNYK-PUB-DIO-5891148","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01158,"epssPercentile":0.67753,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-31402","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31402","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-31402","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9324-jv53-9cc8","ok":true,"note":"GHSA-9324-jv53-9cc8"},{"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-31402","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}