{"answers":{"affected":"14 open source packages ship an affected version, including @octokit/webhooks, @octokit/app and octokit. It affects 4 products.","exploited":"There is no known exploitation of CVE-2023-50728 in the wild and no public exploit code.","fix":"Upgrade @octokit/webhooks to a fixed version for your release line: 9.26.3, 10.9.2, 11.1.2 or 12.0.3.","what":"CVE-2023-50728 is a medium-severity denial of service vulnerability in octokit webhooks.js, published on 15 Dec 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-50728 and fix it if it is affected.\n\nWhat it is: CVE-2023-50728 is a medium-severity denial of service vulnerability in octokit webhooks.js, published on 15 Dec 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-50728 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @octokit/webhooks (npm): affected all versions; fixed in 9.26.3\n- @octokit/webhooks (npm): affected all versions; fixed in 9.26.3\n- @octokit/webhooks (npm): affected from 10.0.0; fixed in 10.9.2\n- @octokit/webhooks (npm): affected from 10.0.0; fixed in 10.9.2\n- @octokit/webhooks (npm): affected from 11.0.0; fixed in 11.1.2\n- @octokit/webhooks (npm): affected from 11.0.0; fixed in 11.1.2\n- @octokit/webhooks (npm): affected from 12.0.0; fixed in 12.0.3\n- @octokit/webhooks (npm): affected from 12.0.0; fixed in 12.0.3\n- @octokit/app (npm): affected from 14.0.1; fixed in 14.0.2\n- @octokit/app (npm): affected from 14.0.1; fixed in 14.0.2\n- octokit (npm): affected all versions; fixed in 3.1.2\n- octokit (npm): affected all versions; fixed in 3.1.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-50728/ (Markdown: https://insights.sbomify.com/CVE-2023-50728/index.md)","id":"CVE-2023-50728","markdown":"https://insights.sbomify.com/CVE-2023-50728/index.md","name":"CVE-2023-50728","record":{"aliases":["GHSA-pwfr-8pq7-x9qv"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Node.js webhook library","requires_auth":"none","summary":"An uncaught exception in the octokit/webhooks library allows unauthenticated attackers to crash the Node.js process, causing denial of service.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"app","vendor":"octokit"},{"product":"octokit","vendor":"octokit"},{"product":"webhooks","vendor":"octokit"},{"product":"probot","vendor":"probot"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"}],"description":"octokit/webhooks is a GitHub webhook events toolset for Node.js. Starting in 9.26.0 and prior to 9.26.3, 10.9.2, 11.1.2, and 12.0.4, there is a problem caused by an issue with error handling in the @octokit/webhooks library because the error can be undefined in some cases. The resulting request was found to cause an uncaught exception that ends the nodejs process.  The bug is fixed in octokit/webhooks.js 9.26.3, 10.9.2, 11.1.2, and 12.0.4, app.js 14.02, octokit.js 3.1.2, and Protobot 12.3.3.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Unauthenticated Denial of Service in the octokit/webhooks library","id":"CVE-2023-50728","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":14,"n_references":8,"next":{"headline":"An unrestricted file upload vulnerability in traccar leads to RCE","id":"CVE-2023-50729"},"packages":[{"ecosystem":"npm","fixed":["14.0.2"],"introduced":["14.0.1"],"last_affected":[],"package":"@octokit/app","purl":null,"source":"GHSA-pwfr-8pq7-x9qv"},{"ecosystem":"npm","fixed":["14.0.2"],"introduced":["14.0.1"],"last_affected":[],"package":"@octokit/app","purl":"pkg:npm/%40octokit/app","source":"GHSA-pwfr-8pq7-x9qv"},{"ecosystem":"npm","fixed":["9.26.3"],"introduced":["0"],"last_affected":[],"package":"@octokit/webhooks","purl":null,"source":"GHSA-pwfr-8pq7-x9qv"},{"ecosystem":"npm","fixed":["9.26.3"],"introduced":["0"],"last_affected":[],"package":"@octokit/webhooks","purl":"pkg:npm/%40octokit/webhooks","source":"GHSA-pwfr-8pq7-x9qv"},{"ecosystem":"npm","fixed":["10.9.2"],"introduced":["10.0.0"],"last_affected":[],"package":"@octokit/webhooks","purl":null,"source":"GHSA-pwfr-8pq7-x9qv"},{"ecosystem":"npm","fixed":["10.9.2"],"introduced":["10.0.0"],"last_affected":[],"package":"@octokit/webhooks","purl":"pkg:npm/%40octokit/webhooks","source":"GHSA-pwfr-8pq7-x9qv"},{"ecosystem":"npm","fixed":["11.1.2"],"introduced":["11.0.0"],"last_affected":[],"package":"@octokit/webhooks","purl":null,"source":"GHSA-pwfr-8pq7-x9qv"},{"ecosystem":"npm","fixed":["11.1.2"],"introduced":["11.0.0"],"last_affected":[],"package":"@octokit/webhooks","purl":"pkg:npm/%40octokit/webhooks","source":"GHSA-pwfr-8pq7-x9qv"},{"ecosystem":"npm","fixed":["12.0.3"],"introduced":["12.0.0"],"last_affected":[],"package":"@octokit/webhooks","purl":null,"source":"GHSA-pwfr-8pq7-x9qv"},{"ecosystem":"npm","fixed":["12.0.3"],"introduced":["12.0.0"],"last_affected":[],"package":"@octokit/webhooks","purl":"pkg:npm/%40octokit/webhooks","source":"GHSA-pwfr-8pq7-x9qv"},{"ecosystem":"npm","fixed":["3.1.2"],"introduced":["0"],"last_affected":[],"package":"octokit","purl":null,"source":"GHSA-pwfr-8pq7-x9qv"},{"ecosystem":"npm","fixed":["3.1.2"],"introduced":["0"],"last_affected":[],"package":"octokit","purl":"pkg:npm/octokit","source":"GHSA-pwfr-8pq7-x9qv"},{"ecosystem":"npm","fixed":["12.3.3"],"introduced":["0"],"last_affected":[],"package":"probot","purl":null,"source":"GHSA-pwfr-8pq7-x9qv"},{"ecosystem":"npm","fixed":["12.3.3"],"introduced":["0"],"last_affected":[],"package":"probot","purl":"pkg:npm/probot","source":"GHSA-pwfr-8pq7-x9qv"}],"prev":{"headline":"Resque vulnerable to reflected XSS in Queue Endpoint","id":"CVE-2023-50727"},"products":["webhooks.js"],"published":"2023-12-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["octokit"]},"summary":"An uncaught exception in the octokit/webhooks library allows unauthenticated attackers to crash the Node.js process, causing denial of service.","url":"https://insights.sbomify.com/CVE-2023-50728/"}