Vulnerabilities in pkg:gem/delayed_job_web
PACKAGECVE-2017-12097 is a MODERATE (CVSS 6.1) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Delayed job web libraries in the RubyGems ecosystem. The issue involves delayed_job_web cross-site scripting vulnerability. Remediation is available by upgrading affected packages to version 1.4.2.
pkg:gem/delayed_job_web
Vulnerability advisories affecting package pkg:gem/delayed_job_web. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-w7q9-xr2x-wh7x | CVE-2017-12097 | MODERATE | delayed_job_web Cross-site Scripting vulnerability |
CVE-2017-12097 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2017-12097
To remediate this vulnerability, upgrade all affected Delayed job web dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade delayed_job_web to 1.4.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for delayed_job_web
How to Check if You Are Affected
To determine whether your application is affected by CVE-2017-12097, inspect your project dependencies for Delayed job web:
inspect dependencies for delayed_job_web
Analyze the terminal output to locate any version of Delayed job web in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Delayed job web, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2017-12097 Affected Delayed job web Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
delayed_job_web
|
RubyGems |
≥ 1.2.9
< 1.4.2
|
1.4.2
|
References
Frequently Asked Questions
What is CVE-2017-12097?
Which Delayed job web versions are affected?
What version fixes CVE-2017-12097?
Is delayed_job_web affected?
What is the CVSS score of CVE-2017-12097?
What CWE is associated with CVE-2017-12097?
How can I check RubyGems dependencies for CVE-2017-12097?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w7q9-xr2x-wh7x",
"modified" : "2023-08-29T11:24:57Z",
"published" : "2018-03-05T19:06:00Z",
"aliases" : [ "CVE-2017-12097" ],
"summary" : "delayed_job_web Cross-site Scripting vulnerability",
"details" : "An exploitable cross site scripting (XSS) vulnerability exists in the filter functionality of the delayed_job_web rails gem versions 1.2.9 before 1.4.2. A specially crafted URL can cause an XSS flaw resulting in an attacker being able to execute arbitrary javascript on the victim's browser. An attacker can phish an authenticated user to trigger this vulnerability.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "delayed_job_web"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.2.9"
}, {
"fixed" : "1.4.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-12097"
}, {
"type" : "WEB",
"url" : "https://github.com/ejschmitt/delayed_job_web/commit/6bcb10e61ea2b9a44ffa16be8536dff46ad51449"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ejschmitt/delayed_job_web"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/delayed_job_web/CVE-2017-12097.yml"
}, {
"type" : "WEB",
"url" : "https://rubygems.org/gems/delayed_job_web/versions/1.4"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200227132840/http://www.securityfocus.com/bid/102484"
}, {
"type" : "WEB",
"url" : "https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0449"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:59:58Z",
"nvd_published_at" : "2018-01-19T20:29:00Z"
}
}