Expand intel coverage and refresh monitoring

这个提交包含在:
hao
2026-03-18 14:18:09 -07:00
父节点 87008d1bd5
当前提交 00d828d090
修改 3658 个文件,包含 124245 行新增13073 行删除

查看文件

@@ -0,0 +1,111 @@
{
"canonical_id": "rails--CVE-2014-0081",
"system_id": "rails",
"display_name": "Ruby on Rails",
"category": "frameworks",
"advisory_mode": "core",
"title": "Rails vulnerable to Cross-site Scripting",
"summary": "There is an XSS vulnerability in the `number_to_currency`, `number_to_percentage` and `number_to_human` helpers in Ruby on Rails. This vulnerability has been assigned the CVE identifier CVE-2014-0081.\n\nVersions Affected: All.\nFixed Versions: 4.1.0.beta2, 4.0.3, 3.2.17.\n\nImpact\n------\nThese helpers allows users to nicely format a numeric value. Some of the parameters to the helper (format, negative_format and units) are not escaped correctly. Applications which pass user controlled data as one of these parameters are vulnerable to an XSS attack.\n\nAll users passing user controlled data to these parameters of the number helpers should either upgrade or use one of the workarounds immediately.\n\nReleases\n--------\nThe 4.1.0.rc1, 4.0.3 and 3.2.17 releases are available at the normal locations.\n\nWorkarounds\n-----------\n\nThe workaround for this issue is to escape the value passed to the parameter.\nFor example, replace code like this:\n\n```ruby\n<%= number_to_currency(1.02, format: params[:format]) %>\n```\n\nWith code like this\n\n```ruby\n<%= number_to_currency(1.02, format: h(params[:format])) %>\n```\n\nPatches\n-------\nTo aid users who aren't able to upgrade immediately we have provided patches for the two supported release series. They are in git-am format and consist of a single changeset.\n\n* 4-1-beta-number_helpers_xss.patch - Patch for 4.1-beta series\n* 4-0-number_helpers_xss.patch - Patch for 4.0 series\n* 3-2-number_helpers_xss.patch - Patch for 3.2 series\n\nPlease note that only the 4.0.x and 3.2.x series are supported at present. Users of earlier unsupported releases are advised to upgrade as soon as possible as we cannot guarantee the continued availability of security fixes for unsupported releases.\n\nCredits\n-------\n\nThanks to Kevin Reintjes for reporting the issue to us.\n\n-- \nAaron Patterson\nhttp://tenderlovemaking.com/\n",
"published_at": "2017-10-24T18:33:36Z",
"updated_at": "2024-12-08T05:43:59.579843Z",
"severity": "unknown",
"cvss_score": null,
"exploit_status": "unknown",
"source_confidence": "official",
"official_source_url": "https://nvd.nist.gov/vuln/detail/CVE-2014-0081",
"secondary_source_urls": [
"https://github.com/rails/rails/commit/08d0a11a3f62718d601d39e617c834759cf59bbb",
"https://github.com/rails/rails",
"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2014-0081.yml",
"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2014-0081.yml",
"https://web.archive.org/web/20140911141416/http://www.securitytracker.com/id/1029782",
"https://web.archive.org/web/20170307202606/http://www.securityfocus.com/bid/65647",
"https://web.archive.org/web/20201207045136/https://groups.google.com/forum/message/raw?msg=rubyonrails-security/tfp6gZCtzr4/j8LUHmu7fIEJ",
"http://lists.opensuse.org/opensuse-updates/2014-02/msg00081.html",
"http://openwall.com/lists/oss-security/2014/02/18/8",
"http://rhn.redhat.com/errata/RHSA-2014-0215.html",
"http://rhn.redhat.com/errata/RHSA-2014-0306.html"
],
"aliases": [
"CVE-2014-0081",
"GHSA-m46p-ggm5-5j83"
],
"cve_ids": [
"CVE-2014-0081"
],
"ghsa_ids": [
"GHSA-m46p-ggm5-5j83"
],
"osv_ids": [
"GHSA-m46p-ggm5-5j83"
],
"affected_versions": [
"3.0.0",
"3.0.1",
"3.0.10",
"3.0.10.rc1",
"3.0.11",
"3.0.12",
"3.0.12.rc1",
"3.0.13",
"3.0.13.rc1",
"3.0.14",
"3.0.15",
"3.0.16",
"3.0.17",
"3.0.18",
"3.0.19",
"3.0.2",
"3.0.20",
"3.0.3",
"3.0.4",
"3.0.4.rc1",
"4.0.0",
"4.0.1",
"4.0.1.rc1",
"4.0.1.rc2",
"4.0.1.rc3",
"4.0.1.rc4",
"4.0.2",
"introduced=3.0.0, fixed<3.2.17",
"introduced=4.0.0, fixed<4.0.3"
],
"fixed_versions": [
"3.2.17",
"4.0.3"
],
"package_name": "rails",
"render_markdown": true,
"case_path": "07-framework-security/frameworks/rails/cases/rails-cve-2014-0081.md",
"secure_code_topics": [
"xss-output-encoding",
"file-upload-validation",
"authz-server-side-recheck"
],
"status": "generated",
"triage_reasons": [],
"verification_status": "triage-manual",
"verification_mode": "synthetic",
"last_verified_at": null,
"last_run_id": null,
"evidence_bundle": null,
"historical_status": null,
"latest_status": null,
"browser_evidence": {
"required": false,
"present": false,
"refs": []
},
"repro_profile_id": "xss-generic",
"artifact_mode": "synthetic",
"blocked_reason": null,
"metadata": {
"source_names": [
"OSV Rails"
],
"source_kinds": [
"osv-batch"
],
"candidate_count": 1
}
}