Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/33496?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/33496?format=api", "purl": "pkg:pypi/kiwitcms@12.3", "type": "pypi", "namespace": "", "name": "kiwitcms", "version": "12.3", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": null, "latest_non_vulnerable_version": null, "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45331?format=api", "vulnerability_id": "VCID-6t3j-45g9-mkcf", "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nKiwi TCMS is an open source test management system for both manual and automated testing. Kiwi TCMS allows users to upload attachments to test plans, test cases, etc. Earlier versions of Kiwi TCMS had introduced upload validators in order to prevent potentially dangerous files from being uploaded and `Content-Security-Policy` definition to prevent cross-site-scripting attacks. The upload validation checks were not 100% robust which left the possibility to circumvent them and upload a potentially dangerous file which allows execution of arbitrary JavaScript in the browser. Additionally we've discovered that Nginx's `proxy_pass` directive will strip some headers negating protections built into Kiwi TCMS when served behind a reverse proxy. This issue has been addressed in version 12.4. Users are advised to upgrade. Users unable to upgrade who are serving Kiwi TCMS behind a reverse proxy should make sure that additional header values are still passed to the client browser. If they aren't redefining them inside the proxy configuration.", "references": [ { "reference_url": "https://github.com/kiwitcms/Kiwi/blob/master/etc/nginx.conf#L66-L68", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/kiwitcms/Kiwi/blob/master/etc/nginx.conf#L66-L68" }, { "reference_url": "https://github.com/kiwitcms/Kiwi/blob/master/etc/nginx.conf#L87", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/kiwitcms/Kiwi/blob/master/etc/nginx.conf#L87" }, { "reference_url": "https://github.com/kiwitcms/kiwi/commit/d789f4b51025de4f8c747c037d02e1b0da80b034", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/kiwitcms/kiwi/commit/d789f4b51025de4f8c747c037d02e1b0da80b034" }, { "reference_url": "https://huntr.dev/bounties/6aea9a26-e29a-467b-aa5a-f767f0c2ec96/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://huntr.dev/bounties/6aea9a26-e29a-467b-aa5a-f767f0c2ec96/" }, { "reference_url": "https://kiwitcms.org/blog/kiwi-tcms-team/2023/06/06/kiwi-tcms-124/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://kiwitcms.org/blog/kiwi-tcms-team/2023/06/06/kiwi-tcms-124/" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-33977", "reference_id": "CVE-2023-33977", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-33977" }, { "reference_url": "https://github.com/advisories/GHSA-2fqm-m4r2-fh98", "reference_id": "GHSA-2fqm-m4r2-fh98", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-2fqm-m4r2-fh98" }, { "reference_url": "https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-2fqm-m4r2-fh98", "reference_id": "GHSA-2fqm-m4r2-fh98", "reference_type": "", "scores": [], "url": "https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-2fqm-m4r2-fh98" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/65323?format=api", "purl": "pkg:pypi/kiwitcms@12.4", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/kiwitcms@12.4" } ], "aliases": [ "CVE-2023-33977", "GHSA-2fqm-m4r2-fh98" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6t3j-45g9-mkcf" } ], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36429?format=api", "vulnerability_id": "VCID-ckju-kczq-67g8", "summary": "Kiwi TCMS is an open source test management system. In kiwitcms/Kiwi v12.2 and prior and kiwitcms/enterprise v12.2 and prior,\nthe `changelog.yml` workflow is vulnerable to command injection attacks because of using an untrusted `github.head_ref` field. The `github.head_ref` value is an attacker-controlled value. Assigning the value to `zzz\";echo${IFS}\"hello\";#` can lead to command injection. Since the permission is not restricted, the attacker has a write-access to the repository. Commit 834c86dfd1b2492ccad7ebbfd6304bfec895fed2 of the kiwitcms/Kiwi repository and commit e39f7e156fdaf6fec09a15ea6f4e8fec8cdbf751 of the kiwitcms/enterprise repository contain a fix for this issue.", "references": [ { "reference_url": "https://github.com/kiwitcms/enterprise/commit/e39f7e156fdaf6fec09a15ea6f4e8fec8cdbf751", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" } ], "url": "https://github.com/kiwitcms/enterprise/commit/e39f7e156fdaf6fec09a15ea6f4e8fec8cdbf751" }, { "reference_url": "https://github.com/kiwitcms/Kiwi/blob/37bfb87696093ce0393160e2725949185cc0651d/.github/workflows/changelog.yml#L18", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" } ], "url": "https://github.com/kiwitcms/Kiwi/blob/37bfb87696093ce0393160e2725949185cc0651d/.github/workflows/changelog.yml#L18" }, { "reference_url": "https://github.com/kiwitcms/Kiwi/commit/834c86dfd1b2492ccad7ebbfd6304bfec895fed2", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" } ], "url": "https://github.com/kiwitcms/Kiwi/commit/834c86dfd1b2492ccad7ebbfd6304bfec895fed2" }, { "reference_url": "https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-cw6r-6ccx-5hwx", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" } ], "url": "https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-cw6r-6ccx-5hwx" }, { "reference_url": "https://securitylab.github.com/research/github-actions-untrusted-input/", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" } ], "url": "https://securitylab.github.com/research/github-actions-untrusted-input/" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/33496?format=api", "purl": "pkg:pypi/kiwitcms@12.3", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-6t3j-45g9-mkcf" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/kiwitcms@12.3" } ], "aliases": [ "CVE-2023-30628", "GHSA-cw6r-6ccx-5hwx", "PYSEC-2023-273" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ckju-kczq-67g8" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45243?format=api", "vulnerability_id": "VCID-zqzz-4pfg-9yax", "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in kiwitcms.", "references": [ { "reference_url": "https://kiwitcms.org/blog/kiwi-tcms-team/2023/05/22/kiwi-tcms-123/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://kiwitcms.org/blog/kiwi-tcms-team/2023/05/22/kiwi-tcms-123/" }, { "reference_url": "https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-2wcr-87wf-cf9j", "reference_id": "GHSA-2wcr-87wf-cf9j", "reference_type": "", "scores": [], "url": "https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-2wcr-87wf-cf9j" }, { "reference_url": "https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-fwcf-753v-fgcj", "reference_id": "GHSA-fwcf-753v-fgcj", "reference_type": "", "scores": [], "url": "https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-fwcf-753v-fgcj" }, { "reference_url": "https://github.com/advisories/GHSA-x7c2-7wvg-jpx7", "reference_id": "GHSA-x7c2-7wvg-jpx7", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-x7c2-7wvg-jpx7" }, { "reference_url": "https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-x7c2-7wvg-jpx7", "reference_id": "GHSA-x7c2-7wvg-jpx7", "reference_type": "", "scores": [], "url": "https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-x7c2-7wvg-jpx7" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/33496?format=api", "purl": "pkg:pypi/kiwitcms@12.3", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-6t3j-45g9-mkcf" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/kiwitcms@12.3" } ], "aliases": [ "GHSA-x7c2-7wvg-jpx7", "GMS-2023-1626" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zqzz-4pfg-9yax" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/kiwitcms@12.3" }