{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/8434?format=json","vulnerability_id":"VCID-bv9s-j5yk-m3aw","summary":"WEBrick Improper Input Validation vulnerability\nWEBrick 1.3.1 in Ruby 1.8.6 through patchlevel 383, 1.8.7 through patchlevel 248, 1.8.8dev, 1.9.1 through patchlevel 376, and 1.9.2dev writes data to a log file without sanitizing non-printable characters, which might allow remote attackers to modify a window's title, or possibly execute arbitrary commands or overwrite files, via an HTTP request containing an escape sequence for a terminal emulator.","aliases":[{"alias":"CVE-2009-4492"},{"alias":"GHSA-6mq2-37j5-w6r6"},{"alias":"OSV-61774"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/74671?format=json","purl":"pkg:ebuild/dev-lang/ruby@1.8.7_p249","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/ruby@1.8.7_p249"},{"url":"http://public2.vulnerablecode.io/api/packages/25135?format=json","purl":"pkg:gem/webrick@1.4.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3wgz-s6g4-n3fk"},{"vulnerability":"VCID-pay9-phaz-bbde"},{"vulnerability":"VCID-vcz9-dvf4-47am"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/webrick@1.4.0"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/50471?format=json","purl":"pkg:gem/webrick@1.3.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3wgz-s6g4-n3fk"},{"vulnerability":"VCID-91b7-xx8t-rqhr"},{"vulnerability":"VCID-bv9s-j5yk-m3aw"},{"vulnerability":"VCID-pay9-phaz-bbde"},{"vulnerability":"VCID-vcz9-dvf4-47am"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/webrick@1.3.1"},{"url":"http://public2.vulnerablecode.io/api/packages/134716?format=json","purl":"pkg:gem/webrick@1.4.0.beta1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3wgz-s6g4-n3fk"},{"vulnerability":"VCID-91b7-xx8t-rqhr"},{"vulnerability":"VCID-bv9s-j5yk-m3aw"},{"vulnerability":"VCID-pay9-phaz-bbde"},{"vulnerability":"VCID-vcz9-dvf4-47am"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/webrick@1.4.0.beta1"},{"url":"http://public2.vulnerablecode.io/api/packages/127321?format=json","purl":"pkg:rpm/redhat/ruby@1.8.1-16?arch=el4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9ukz-9357-aqb6"},{"vulnerability":"VCID-bv9s-j5yk-m3aw"},{"vulnerability":"VCID-nxub-6qsu-hbhk"},{"vulnerability":"VCID-t1p6-1u4n-gybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/ruby@1.8.1-16%3Farch=el4"},{"url":"http://public2.vulnerablecode.io/api/packages/127322?format=json","purl":"pkg:rpm/redhat/ruby@1.8.5-19.el5_6?arch=1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-9ukz-9357-aqb6"},{"vulnerability":"VCID-bv9s-j5yk-m3aw"},{"vulnerability":"VCID-nxub-6qsu-hbhk"},{"vulnerability":"VCID-rh8q-s45v-xbhg"},{"vulnerability":"VCID-t1p6-1u4n-gybf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/ruby@1.8.5-19.el5_6%3Farch=1"},{"url":"http://public2.vulnerablecode.io/api/packages/130657?format=json","purl":"pkg:ruby/ruby@1.8.7","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4yvc-uzev-wua4"},{"vulnerability":"VCID-5bte-uex2-f7du"},{"vulnerability":"VCID-8fbf-8fea-27d9"},{"vulnerability":"VCID-94vg-kqhg-qfdv"},{"vulnerability":"VCID-9gp6-pvw1-ufhs"},{"vulnerability":"VCID-9ukz-9357-aqb6"},{"vulnerability":"VCID-a15m-bcma-vfa7"},{"vulnerability":"VCID-bv9s-j5yk-m3aw"},{"vulnerability":"VCID-c9sy-czbr-tfer"},{"vulnerability":"VCID-ea13-mua4-1fb9"},{"vulnerability":"VCID-fw7k-88kf-1kgg"},{"vulnerability":"VCID-jx79-wpg7-2yaa"},{"vulnerability":"VCID-mzqm-gc4w-fbfp"},{"vulnerability":"VCID-nsa4-b31c-37g2"},{"vulnerability":"VCID-pegr-f5mh-ekdz"},{"vulnerability":"VCID-qjwb-ph9u-bubf"},{"vulnerability":"VCID-xtny-ychb-fff1"},{"vulnerability":"VCID-ynyp-ybd9-57df"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:ruby/ruby@1.8.7"},{"url":"http://public2.vulnerablecode.io/api/packages/130652?format=json","purl":"pkg:ruby/ruby@1.8.8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2ww6-w1k6-xqbp"},{"vulnerability":"VCID-4yvc-uzev-wua4"},{"vulnerability":"VCID-5bte-uex2-f7du"},{"vulnerability":"VCID-8fbf-8fea-27d9"},{"vulnerability":"VCID-9gp6-pvw1-ufhs"},{"vulnerability":"VCID-9ukz-9357-aqb6"},{"vulnerability":"VCID-a15m-bcma-vfa7"},{"vulnerability":"VCID-ar57-vndq-yka6"},{"vulnerability":"VCID-bjts-v9q2-9yg8"},{"vulnerability":"VCID-bv9s-j5yk-m3aw"},{"vulnerability":"VCID-c9sy-czbr-tfer"},{"vulnerability":"VCID-ea13-mua4-1fb9"},{"vulnerability":"VCID-fw7k-88kf-1kgg"},{"vulnerability":"VCID-jx79-wpg7-2yaa"},{"vulnerability":"VCID-mzqm-gc4w-fbfp"},{"vulnerability":"VCID-nsa4-b31c-37g2"},{"vulnerability":"VCID-nxub-6qsu-hbhk"},{"vulnerability":"VCID-pegr-f5mh-ekdz"},{"vulnerability":"VCID-qjwb-ph9u-bubf"},{"vulnerability":"VCID-r8r3-3x8p-ebh5"},{"vulnerability":"VCID-rh8q-s45v-xbhg"},{"vulnerability":"VCID-weh8-bs3g-a3hp"},{"vulnerability":"VCID-xtny-ychb-fff1"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:ruby/ruby@1.8.8"}],"references":[{"reference_url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2009-4492.json","reference_id":"","reference_type":"","scores":[],"url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2009-4492.json"},{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2009-4492","reference_id":"","reference_type":"","scores":[{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.95174","published_at":"2026-05-14T12:55:00Z"},{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.95099","published_at":"2026-04-09T12:55:00Z"},{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.95105","published_at":"2026-04-11T12:55:00Z"},{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.95107","published_at":"2026-04-12T12:55:00Z"},{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.9511","published_at":"2026-04-13T12:55:00Z"},{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.95118","published_at":"2026-04-16T12:55:00Z"},{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.95121","published_at":"2026-04-18T12:55:00Z"},{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.95123","published_at":"2026-04-24T12:55:00Z"},{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.95124","published_at":"2026-04-26T12:55:00Z"},{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.95125","published_at":"2026-04-29T12:55:00Z"},{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.95136","published_at":"2026-05-05T12:55:00Z"},{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.95142","published_at":"2026-05-07T12:55:00Z"},{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.95152","published_at":"2026-05-09T12:55:00Z"},{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.95157","published_at":"2026-05-11T12:55:00Z"},{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.95163","published_at":"2026-05-12T12:55:00Z"},{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.95076","published_at":"2026-04-01T12:55:00Z"},{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.95086","published_at":"2026-04-02T12:55:00Z"},{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.95087","published_at":"2026-04-04T12:55:00Z"},{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.95089","published_at":"2026-04-07T12:55:00Z"},{"value":"0.17685","scoring_system":"epss","scoring_elements":"0.95096","published_at":"2026-04-08T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2009-4492"},{"reference_url":"https://github.com/ruby/webrick","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/ruby/webrick"},{"reference_url":"https://web.archive.org/web/20100113155532/http://www.vupen.com/english/advisories/2010/0089","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://web.archive.org/web/20100113155532/http://www.vupen.com/english/advisories/2010/0089"},{"reference_url":"https://web.archive.org/web/20100815010948/http://secunia.com/advisories/37949","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://web.archive.org/web/20100815010948/http://secunia.com/advisories/37949"},{"reference_url":"https://web.archive.org/web/20170402100552/http://securitytracker.com/id?1023429","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://web.archive.org/web/20170402100552/http://securitytracker.com/id?1023429"},{"reference_url":"https://web.archive.org/web/20170908140655/http://www.securityfocus.com/archive/1/508830/100/0/threaded","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://web.archive.org/web/20170908140655/http://www.securityfocus.com/archive/1/508830/100/0/threaded"},{"reference_url":"https://web.archive.org/web/20200228145937/http://www.securityfocus.com/bid/37710","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://web.archive.org/web/20200228145937/http://www.securityfocus.com/bid/37710"},{"reference_url":"http://www.redhat.com/support/errata/RHSA-2011-0908.html","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"http://www.redhat.com/support/errata/RHSA-2011-0908.html"},{"reference_url":"http://www.redhat.com/support/errata/RHSA-2011-0909.html","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"http://www.redhat.com/support/errata/RHSA-2011-0909.html"},{"reference_url":"http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection"},{"reference_url":"http://www.ush.it/team/ush/hack_httpd_escape/adv.txt","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"http://www.ush.it/team/ush/hack_httpd_escape/adv.txt"},{"reference_url":"https://bugzilla.redhat.com/show_bug.cgi?id=554485","reference_id":"554485","reference_type":"","scores":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=554485"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2009-4492","reference_id":"CVE-2009-4492","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-4492"},{"reference_url":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/remote/33489.txt","reference_id":"CVE-2009-4492;OSVDB-61774","reference_type":"exploit","scores":[],"url":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/remote/33489.txt"},{"reference_url":"https://www.securityfocus.com/bid/37710/info","reference_id":"CVE-2009-4492;OSVDB-61774","reference_type":"exploit","scores":[],"url":"https://www.securityfocus.com/bid/37710/info"},{"reference_url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2009-4492.yml","reference_id":"CVE-2009-4492.YML","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2009-4492.yml"},{"reference_url":"https://github.com/advisories/GHSA-6mq2-37j5-w6r6","reference_id":"GHSA-6mq2-37j5-w6r6","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-6mq2-37j5-w6r6"},{"reference_url":"https://security.gentoo.org/glsa/201001-09","reference_id":"GLSA-201001-09","reference_type":"","scores":[],"url":"https://security.gentoo.org/glsa/201001-09"},{"reference_url":"https://access.redhat.com/errata/RHSA-2011:0908","reference_id":"RHSA-2011:0908","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2011:0908"},{"reference_url":"https://access.redhat.com/errata/RHSA-2011:0909","reference_id":"RHSA-2011:0909","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2011:0909"},{"reference_url":"https://usn.ubuntu.com/900-1/","reference_id":"USN-900-1","reference_type":"","scores":[],"url":"https://usn.ubuntu.com/900-1/"}],"weaknesses":[{"cwe_id":20,"name":"Improper Input Validation","description":"The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."}],"exploits":[{"date_added":"2010-01-11","description":"Ruby 1.9.1 - WEBrick 'Terminal Escape Sequence in Logs' Command Injection","required_action":null,"due_date":null,"notes":null,"known_ransomware_campaign_use":true,"source_date_published":"2010-01-11","exploit_type":"remote","platform":"multiple","source_date_updated":"2016-12-21","data_source":"Exploit-DB","source_url":"https://www.securityfocus.com/bid/37710/info"}],"severity_range_score":"4.0 - 6.9","exploitability":"2.0","weighted_severity":"6.2","risk_score":10.0,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-bv9s-j5yk-m3aw"}