Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/8035?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/8035?format=api", "vulnerability_id": "VCID-6sgh-v5u7-w3h9", "summary": "Safe mode bypassing\nSafemode is vulnerable to bypassing safe mode limitations via special Ruby syntax. This can lead to deletion of objects for which the user does not have delete-permissions or possibly to privilege escalation.", "aliases": [ { "alias": "CVE-2017-7540" }, { "alias": "GHSA-5vx5-9q73-wgp4" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/68273?format=api", "purl": "pkg:gem/safemode@1.3.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-6sgh-v5u7-w3h9" }, { "vulnerability": "VCID-96hp-qxsu-rqa2" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/safemode@1.3.2" }, { "url": "http://public2.vulnerablecode.io/api/packages/24447?format=api", "purl": "pkg:gem/safemode@1.3.4", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/safemode@1.3.4" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/155160?format=api", "purl": "pkg:gem/safemode@0.0.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-6hub-g2ja-afaw" }, { "vulnerability": "VCID-6sgh-v5u7-w3h9" }, { "vulnerability": "VCID-96hp-qxsu-rqa2" }, { "vulnerability": "VCID-ty6t-p6kh-z7ap" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/safemode@0.0.2" }, { "url": "http://public2.vulnerablecode.io/api/packages/155161?format=api", "purl": "pkg:gem/safemode@1.0.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-6hub-g2ja-afaw" }, { "vulnerability": "VCID-6sgh-v5u7-w3h9" }, { "vulnerability": "VCID-96hp-qxsu-rqa2" }, { "vulnerability": "VCID-ty6t-p6kh-z7ap" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/safemode@1.0.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/155162?format=api", "purl": "pkg:gem/safemode@1.0.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-6hub-g2ja-afaw" }, { "vulnerability": "VCID-6sgh-v5u7-w3h9" }, { "vulnerability": "VCID-96hp-qxsu-rqa2" }, { "vulnerability": "VCID-ty6t-p6kh-z7ap" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/safemode@1.0.1" }, { "url": "http://public2.vulnerablecode.io/api/packages/155163?format=api", "purl": "pkg:gem/safemode@1.0.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-6hub-g2ja-afaw" }, { "vulnerability": "VCID-6sgh-v5u7-w3h9" }, { "vulnerability": "VCID-96hp-qxsu-rqa2" }, { "vulnerability": "VCID-ty6t-p6kh-z7ap" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/safemode@1.0.2" }, { "url": "http://public2.vulnerablecode.io/api/packages/155164?format=api", "purl": "pkg:gem/safemode@1.1.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-6hub-g2ja-afaw" }, { "vulnerability": "VCID-6sgh-v5u7-w3h9" }, { "vulnerability": "VCID-96hp-qxsu-rqa2" }, { "vulnerability": "VCID-ty6t-p6kh-z7ap" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/safemode@1.1.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/155165?format=api", "purl": "pkg:gem/safemode@1.2.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-6hub-g2ja-afaw" }, { "vulnerability": "VCID-6sgh-v5u7-w3h9" }, { "vulnerability": "VCID-96hp-qxsu-rqa2" }, { "vulnerability": "VCID-ty6t-p6kh-z7ap" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/safemode@1.2.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/155166?format=api", "purl": "pkg:gem/safemode@1.2.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-6hub-g2ja-afaw" }, { "vulnerability": "VCID-6sgh-v5u7-w3h9" }, { "vulnerability": "VCID-96hp-qxsu-rqa2" }, { "vulnerability": "VCID-ty6t-p6kh-z7ap" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/safemode@1.2.1" }, { "url": "http://public2.vulnerablecode.io/api/packages/155167?format=api", "purl": "pkg:gem/safemode@1.2.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-6hub-g2ja-afaw" }, { "vulnerability": "VCID-6sgh-v5u7-w3h9" }, { "vulnerability": "VCID-96hp-qxsu-rqa2" }, { "vulnerability": "VCID-ty6t-p6kh-z7ap" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/safemode@1.2.2" }, { "url": "http://public2.vulnerablecode.io/api/packages/22324?format=api", "purl": "pkg:gem/safemode@1.2.3", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-6hub-g2ja-afaw" }, { "vulnerability": "VCID-6sgh-v5u7-w3h9" }, { "vulnerability": "VCID-96hp-qxsu-rqa2" }, { "vulnerability": "VCID-ty6t-p6kh-z7ap" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/safemode@1.2.3" }, { "url": "http://public2.vulnerablecode.io/api/packages/22325?format=api", "purl": "pkg:gem/safemode@1.2.4", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-6sgh-v5u7-w3h9" }, { "vulnerability": "VCID-96hp-qxsu-rqa2" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/safemode@1.2.4" }, { "url": "http://public2.vulnerablecode.io/api/packages/163225?format=api", "purl": "pkg:gem/safemode@1.2.5", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-6sgh-v5u7-w3h9" }, { "vulnerability": "VCID-96hp-qxsu-rqa2" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/safemode@1.2.5" }, { "url": "http://public2.vulnerablecode.io/api/packages/163226?format=api", "purl": "pkg:gem/safemode@1.3.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-6sgh-v5u7-w3h9" }, { "vulnerability": "VCID-96hp-qxsu-rqa2" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/safemode@1.3.1" }, { "url": "http://public2.vulnerablecode.io/api/packages/68273?format=api", "purl": "pkg:gem/safemode@1.3.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-6sgh-v5u7-w3h9" }, { "vulnerability": "VCID-96hp-qxsu-rqa2" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/safemode@1.3.2" } ], "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-7540.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-7540.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7540", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00289", "scoring_system": "epss", "scoring_elements": "0.52429", "published_at": "2026-04-16T12:55:00Z" }, { "value": "0.00289", "scoring_system": "epss", "scoring_elements": "0.5239", "published_at": "2026-04-13T12:55:00Z" }, { "value": "0.00289", "scoring_system": "epss", "scoring_elements": "0.52404", "published_at": "2026-04-12T12:55:00Z" }, { "value": "0.00289", "scoring_system": "epss", "scoring_elements": "0.5242", "published_at": "2026-04-11T12:55:00Z" }, { "value": "0.00289", "scoring_system": "epss", "scoring_elements": "0.52371", "published_at": "2026-04-09T12:55:00Z" }, { "value": "0.00289", "scoring_system": "epss", "scoring_elements": "0.52375", "published_at": "2026-04-08T12:55:00Z" }, { "value": "0.00289", "scoring_system": "epss", "scoring_elements": "0.52322", "published_at": "2026-04-07T12:55:00Z" }, { "value": "0.00289", "scoring_system": "epss", "scoring_elements": "0.52357", "published_at": "2026-04-04T12:55:00Z" }, { "value": "0.00289", "scoring_system": "epss", "scoring_elements": "0.52286", "published_at": "2026-04-01T12:55:00Z" }, { "value": "0.00289", "scoring_system": "epss", "scoring_elements": "0.52329", "published_at": "2026-04-02T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-7540" }, { "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/safemode/CVE-2017-7540.yml", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/safemode/CVE-2017-7540.yml" }, { "reference_url": "https://github.com/svenfuchs/safemode", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/svenfuchs/safemode" }, { "reference_url": "https://github.com/svenfuchs/safemode/pull/23", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/svenfuchs/safemode/pull/23" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7540", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3", "scoring_elements": "" }, { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7540" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1473243", "reference_id": "1473243", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1473243" }, { "reference_url": "https://github.com/advisories/GHSA-5vx5-9q73-wgp4", "reference_id": "GHSA-5vx5-9q73-wgp4", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-5vx5-9q73-wgp4" } ], "weaknesses": [ { "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." }, { "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": 184, "name": "Incomplete List of Disallowed Inputs", "description": "The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete, leading to resultant weaknesses." } ], "exploits": [], "severity_range_score": "7.5 - 10.0", "exploitability": "0.5", "weighted_severity": "9.0", "risk_score": 4.5, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6sgh-v5u7-w3h9" }