{"action":"Upgrade mechanize to 2.7.7 or later.","affected":[{"fixed":"2.7.7","introduced":"2.0.0"}],"component":"mechanize","cve_ids":["CVE-2021-21289"],"ecosystem":"RubyGems","epss":0.03507,"exploited":false,"fixed_versions":["2.7.7"],"ghsa_id":"GHSA-qrqm-fpv6-6r8g","id":"tcs_01M5KEN2FAQ31KNX0PCTB1N1QY","modified_at":"2026-09-10T03:48:25.998395050Z","published_at":"2021-02-02T18:50:27Z","references":["https://osv.dev/vulnerability/GHSA-qrqm-fpv6-6r8g","https://github.com/sparklemotion/mechanize/security/advisories/GHSA-qrqm-fpv6-6r8g","https://nvd.nist.gov/vuln/detail/CVE-2021-21289","https://github.com/sparklemotion/mechanize/commit/66a6a1bfa653a5f13274a396a5e5441238656aa0","https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mechanize/CVE-2021-21289.yml","https://github.com/sparklemotion/mechanize","https://github.com/sparklemotion/mechanize/releases/tag/v2.7.7","https://lists.debian.org/debian-lts-announce/2021/02/msg00021.html","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LBVVJUL4P4KCJH4IQTHFZ4ATXY7XXZPV","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YNFZ7ROYS6V4J5L5PRAJUG2AWC7VXR2V","https://rubygems.org/gems/mechanize","https://security.gentoo.org/glsa/202107-17"],"severity":{"label":"high","score":7.4},"sources":[{"source":"osv","source_id":"GHSA-qrqm-fpv6-6r8g","url":"https://osv.dev/vulnerability/GHSA-qrqm-fpv6-6r8g"}],"summary":"Command Injection Vulnerability in Mechanize"}