Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/39146?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/39146?format=api", "purl": "pkg:pypi/label-studio@1.10.0", "type": "pypi", "namespace": "", "name": "label-studio", "version": "1.10.0", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "1.18.0", "latest_non_vulnerable_version": "1.18.0", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36698?format=api", "vulnerability_id": "VCID-hr5p-dv32-y7ez", "summary": "Label Studio, an open source data labeling tool had a remote import feature allowed users to import data from a remote web source, that was downloaded and could be viewed on the website. Prior to version 1.10.1, this feature could had been abused to download a HTML file that executed malicious JavaScript code in the context of the Label Studio website. Executing arbitrary JavaScript could result in an attacker performing malicious actions on Label Studio users if they visit the crafted avatar image. For an example, an attacker can craft a JavaScript payload that adds a new Django Super Administrator user if a Django administrator visits the image.\n\n`data_import/uploader.py` lines 125C5 through 146 showed that if a URL passed the server side request forgery verification checks, the contents of the file would be downloaded using the filename in the URL. The downloaded file path could then be retrieved by sending a request to `/api/projects/{project_id}/file-uploads?ids=[{download_id}]` where `{project_id}` was the ID of the project and `{download_id}` was the ID of the downloaded file. Once the downloaded file path was retrieved by the previous API endpoint, `data_import/api.py`lines 595C1 through 616C62 demonstrated that the `Content-Type` of the response was determined by the file extension, since `mimetypes.guess_type` guesses the `Content-Type` based on the file extension. Since the `Content-Type` was determined by the file extension of the downloaded file, an attacker could import in a `.html` file that would execute JavaScript when visited.\n\nVersion 1.10.1 contains a patch for this issue. Other remediation strategies are also available. For all user provided files that are downloaded by Label Studio, set the `Content-Security-Policy: sandbox;` response header when viewed on the site. The `sandbox` directive restricts a page's actions to prevent popups, execution of plugins and scripts and enforces a `same-origin` policy. Alternatively, restrict the allowed file extensions that may be downloaded.", "references": [ { "reference_url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/sandbox", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" } ], "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/sandbox" }, { "reference_url": "https://github.com/HumanSignal/label-studio", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/HumanSignal/label-studio" }, { "reference_url": "https://github.com/HumanSignal/label-studio/blob/1.9.2.post0/label_studio/data_import/api.py#L595C1-L616C62", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" } ], "url": "https://github.com/HumanSignal/label-studio/blob/1.9.2.post0/label_studio/data_import/api.py#L595C1-L616C62" }, { "reference_url": "https://github.com/HumanSignal/label-studio/blob/1.9.2.post0/label_studio/data_import/uploader.py#L125C5-L146", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" } ], "url": "https://github.com/HumanSignal/label-studio/blob/1.9.2.post0/label_studio/data_import/uploader.py#L125C5-L146" }, { "reference_url": "https://github.com/HumanSignal/label-studio/security/advisories/GHSA-fq23-g58m-799r", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" } ], "url": "https://github.com/HumanSignal/label-studio/security/advisories/GHSA-fq23-g58m-799r" }, { "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/label-studio/PYSEC-2024-128.yaml", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/pypa/advisory-database/tree/main/vulns/label-studio/PYSEC-2024-128.yaml" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-23633", "reference_id": "CVE-2024-23633", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-23633" }, { "reference_url": "https://github.com/advisories/GHSA-fq23-g58m-799r", "reference_id": "GHSA-fq23-g58m-799r", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-fq23-g58m-799r" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/39148?format=api", "purl": "pkg:pypi/label-studio@1.10.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-n8np-tc3h-kkfd" }, { "vulnerability": "VCID-r633-m97m-sfap" }, { "vulnerability": "VCID-udga-7qeh-bufn" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/label-studio@1.10.1" } ], "aliases": [ "CVE-2024-23633", "GHSA-fq23-g58m-799r", "PYSEC-2024-128" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hr5p-dv32-y7ez" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37059?format=api", "vulnerability_id": "VCID-n8np-tc3h-kkfd", "summary": "Label Studio is a multi-type data labeling and annotation tool. A vulnerability in versions prior to 1.18.0 allows an attacker to inject a malicious script into the context of a web page, which can lead to data theft, session hijacking, unauthorized actions on behalf of the user, and other attacks. The vulnerability is reproducible when sending a properly formatted request to the `POST /projects/upload-example/` endpoint. In the source code, the vulnerability is located at `label_studio/projects/views.py`. Version 1.18.0 contains a patch for the issue.", "references": [ { "reference_url": "https://github.com/HumanSignal/label-studio/security/advisories/GHSA-8jhr-wpcm-hh4h", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" } ], "url": "https://github.com/HumanSignal/label-studio/security/advisories/GHSA-8jhr-wpcm-hh4h" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/45156?format=api", "purl": "pkg:pypi/label-studio@1.18.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/label-studio@1.18.0" } ], "aliases": [ "CVE-2025-47783", "GHSA-8jhr-wpcm-hh4h", "PYSEC-2025-124" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-n8np-tc3h-kkfd" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36731?format=api", "vulnerability_id": "VCID-r633-m97m-sfap", "summary": "### Summary\nOn all Label Studio versions prior to 1.11.0, data imported via file upload feature is not properly sanitized prior to being rendered within a [`Choices`](https://labelstud.io/tags/choices) or [`Labels`](https://labelstud.io/tags/labels) tag, resulting in an XSS vulnerability.\n\n### Details\nNeed permission to use the \"data import\" function. This was reproduced on Label Studio 1.10.1.\n\n### PoC\n\n1. Create a project.\n\n\n2. Upload a file containing the payload using the \"Upload Files\" function.\n\n\n\nThe following are the contents of the files used in the PoC\n```\n{\n \"data\": {\n \"prompt\": \"labelstudio universe image\",\n \"images\": [\n {\n \"value\": \"id123#0\",\n \"style\": \"margin: 5px\",\n \"html\": \"<img width='400' src='https://labelstud.io/_astro/images-tab.64279c16_ZaBSvC.avif' onload=alert(document.cookie)>\"\n }\n ]\n }\n}\n```\n\n3. Select the text-to-image generation labeling template of Ranking and scoring\n\n\n\n4. Select a task\n\n\n5. Check that the script is running\n\n\n### Impact\nMalicious scripts can be injected into the code, and when linked with vulnerabilities such as CSRF, it can cause even greater damage. In particular, It can become a source of further attacks, especially when linked to social engineering.", "references": [ { "reference_url": "https://github.com/HumanSignal/label-studio", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/HumanSignal/label-studio" }, { "reference_url": "https://github.com/HumanSignal/label-studio/commit/5df9ae3828b98652e9fa290a19f4deedf51ef6c8", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" } ], "url": "https://github.com/HumanSignal/label-studio/commit/5df9ae3828b98652e9fa290a19f4deedf51ef6c8" }, { "reference_url": "https://github.com/HumanSignal/label-studio/pull/5232", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" } ], "url": "https://github.com/HumanSignal/label-studio/pull/5232" }, { "reference_url": "https://github.com/HumanSignal/label-studio/releases/tag/1.11.0", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" } ], "url": "https://github.com/HumanSignal/label-studio/releases/tag/1.11.0" }, { "reference_url": "https://github.com/HumanSignal/label-studio/security/advisories/GHSA-6xv9-957j-qfhg", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" } ], "url": "https://github.com/HumanSignal/label-studio/security/advisories/GHSA-6xv9-957j-qfhg" }, { "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/label-studio/PYSEC-2024-249.yaml", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/pypa/advisory-database/tree/main/vulns/label-studio/PYSEC-2024-249.yaml" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-26152", "reference_id": "CVE-2024-26152", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-26152" }, { "reference_url": "https://github.com/advisories/GHSA-6xv9-957j-qfhg", "reference_id": "GHSA-6xv9-957j-qfhg", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-6xv9-957j-qfhg" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/39210?format=api", "purl": "pkg:pypi/label-studio@1.11.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-n8np-tc3h-kkfd" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/label-studio@1.11.0" } ], "aliases": [ "CVE-2024-26152", "GHSA-6xv9-957j-qfhg", "PYSEC-2024-249" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-r633-m97m-sfap" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36711?format=api", "vulnerability_id": "VCID-udga-7qeh-bufn", "summary": "Label Studio is a popular open source data labeling tool. The vulnerability affects all versions of Label Studio prior to 1.11.0 and was tested on version 1.8.2. Label Studio's SSRF protections that can be enabled by setting the `SSRF_PROTECTION_ENABLED` environment variable can be bypassed to access internal web servers. This is because the current SSRF validation is done by executing a single DNS lookup to verify that the IP address is not in an excluded subnet range. This protection can be bypassed by either using HTTP redirection or performing a DNS rebinding attack.", "references": [ { "reference_url": "https://en.wikipedia.org/wiki/DNS_rebinding", "reference_id": "", "reference_type": "", "scores": [], "url": "https://en.wikipedia.org/wiki/DNS_rebinding" }, { "reference_url": "https://github.com/HumanSignal/label-studio", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/HumanSignal/label-studio" }, { "reference_url": "https://github.com/HumanSignal/label-studio/blob/1.8.2/label_studio/core/utils/io.py#L174-L209", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/HumanSignal/label-studio/blob/1.8.2/label_studio/core/utils/io.py#L174-L209" }, { "reference_url": "https://github.com/HumanSignal/label-studio/blob/1.8.2/label_studio/data_import/uploader.py#L127-L155", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/HumanSignal/label-studio/blob/1.8.2/label_studio/data_import/uploader.py#L127-L155" }, { "reference_url": "https://github.com/HumanSignal/label-studio/commit/55dd6af4716b92f2bb213fe461d1ffbc380c6a64", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.3", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N" } ], "url": "https://github.com/HumanSignal/label-studio/commit/55dd6af4716b92f2bb213fe461d1ffbc380c6a64" }, { "reference_url": "https://github.com/HumanSignal/label-studio/releases/tag/1.11.0", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.3", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N" } ], "url": "https://github.com/HumanSignal/label-studio/releases/tag/1.11.0" }, { "reference_url": "https://github.com/HumanSignal/label-studio/security/advisories/GHSA-p59w-9gqw-wj8r", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.3", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N" } ], "url": "https://github.com/HumanSignal/label-studio/security/advisories/GHSA-p59w-9gqw-wj8r" }, { "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/label-studio/PYSEC-2024-127.yaml", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/pypa/advisory-database/tree/main/vulns/label-studio/PYSEC-2024-127.yaml" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-47116", "reference_id": "CVE-2023-47116", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-47116" }, { "reference_url": "https://github.com/advisories/GHSA-p59w-9gqw-wj8r", "reference_id": "GHSA-p59w-9gqw-wj8r", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-p59w-9gqw-wj8r" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/39210?format=api", "purl": "pkg:pypi/label-studio@1.11.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-n8np-tc3h-kkfd" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/label-studio@1.11.0" } ], "aliases": [ "CVE-2023-47116", "GHSA-p59w-9gqw-wj8r", "PYSEC-2024-127" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-udga-7qeh-bufn" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/label-studio@1.10.0" }