Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/56987?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/56987?format=api", "purl": "pkg:maven/org.apache.spark/spark-core_2.10@1.0.0", "type": "maven", "namespace": "org.apache.spark", "name": "spark-core_2.10", "version": "1.0.0", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "2.1.2", "latest_non_vulnerable_version": "2.1.2", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35229?format=api", "vulnerability_id": "VCID-3gwu-myk4-ufdj", "summary": "In Apache Spark 1.0.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, when using PySpark or SparkR, it's possible for a different local user to connect to the Spark application and impersonate the user running the Spark application.", "references": [ { "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2018-25.yaml", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2018-25.yaml" }, { "reference_url": "https://lists.apache.org/thread.html/4d6d210e319a501b740293daaeeeadb51927111fb8261a3e4cd60060@%3Cdev.spark.apache.org%3E", "reference_id": "", "reference_type": "", "scores": [], "url": "https://lists.apache.org/thread.html/4d6d210e319a501b740293daaeeeadb51927111fb8261a3e4cd60060@%3Cdev.spark.apache.org%3E" }, { "reference_url": "https://spark.apache.org/security.html#CVE-2018-1334", "reference_id": "", "reference_type": "", "scores": [], "url": "https://spark.apache.org/security.html#CVE-2018-1334" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1334", "reference_id": "CVE-2018-1334", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1334" }, { "reference_url": "https://github.com/advisories/GHSA-6mqq-8r44-vmjc", "reference_id": "GHSA-6mqq-8r44-vmjc", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-6mqq-8r44-vmjc" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/57584?format=api", "purl": "pkg:maven/org.apache.spark/spark-core_2.10@2.1.3", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-k96c-fsnj-sfbq" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.spark/spark-core_2.10@2.1.3" }, { "url": "http://public2.vulnerablecode.io/api/packages/56988?format=api", "purl": "pkg:maven/org.apache.spark/spark-core_2.10@2.2.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-8fxy-5cvh-vfag" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.spark/spark-core_2.10@2.2.2" } ], "aliases": [ "CVE-2018-1334", "GHSA-6mqq-8r44-vmjc", "PYSEC-2018-25" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3gwu-myk4-ufdj" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40165?format=api", "vulnerability_id": "VCID-8fxy-5cvh-vfag", "summary": "Improper Authentication\nApache Spark standalone master exposes a REST API for job submission, in addition to the submission mechanism used by spark-submit. In standalone, the config property `spark.authenticate.secret` establishes a shared secret for authenticating requests to submit jobs via spark-submit. However, the REST API does not use this or any other authentication mechanism, and this is not adequately documented. In this case, a user would be able to run a driver program without authenticating, but not launch executors, using the REST API.", "references": [ { "reference_url": "https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485@%3Cdev.spark.apache.org%3E", "reference_id": "", "reference_type": "", "scores": [], "url": "https://lists.apache.org/thread.html/bd8e51314041451a2acd720e9223fc1c15a263ccacb396a75b1fc485@%3Cdev.spark.apache.org%3E" }, { "reference_url": "https://spark.apache.org/security.html#CVE-2018-11770", "reference_id": "", "reference_type": "", "scores": [], "url": "https://spark.apache.org/security.html#CVE-2018-11770" }, { "reference_url": "http://www.securityfocus.com/bid/105097", "reference_id": "", "reference_type": "", "scores": [], "url": "http://www.securityfocus.com/bid/105097" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-11770", "reference_id": "CVE-2018-11770", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-11770" }, { "reference_url": "https://github.com/advisories/GHSA-w4r4-65mg-45x2", "reference_id": "GHSA-w4r4-65mg-45x2", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-w4r4-65mg-45x2" } ], "fixed_packages": [], "aliases": [ "CVE-2018-11770", "GHSA-w4r4-65mg-45x2" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8fxy-5cvh-vfag" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.spark/spark-core_2.10@1.0.0" }