{"resultsPerPage":1,"startIndex":0,"totalResults":1,"format":"NVD_CVE","version":"2.0","timestamp":"2026-04-20T21:29:25.177","vulnerabilities":[{"cve":{"id":"CVE-2022-41942","sourceIdentifier":"security-advisories@github.com","published":"2022-11-22T19:15:18.017","lastModified":"2024-11-21T07:24:07.233","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"Sourcegraph is a code intelligence platform. In versions prior to 4.1.0 a command Injection vulnerability existed in the gitserver service, present in all Sourcegraph deployments. This vulnerability was caused by a lack of input validation on the host parameter of the `/list-gitolite` endpoint. It was possible to send a crafted request to gitserver that would execute commands inside the container. Successful exploitation requires the ability to send local requests to gitserver. The issue is patched in version 4.1.0."},{"lang":"es","value":"Sourcegraph es una plataforma de inteligencia de código. En versiones anteriores a la 4.1.0 existía una vulnerabilidad de inyección de comandos en el servicio gitserver, presente en todas las implementaciones de Sourcegraph. Esta vulnerabilidad fue causada por una falta de validación de entrada en el parámetro de host del endpoint `/list-gitolite`. Era posible enviar una solicitud manipulada a gitserver que ejecutaría comandos dentro del contenedor. La explotación exitosa requiere la capacidad de enviar solicitudes locales a gitserver. El problema se solucionó en la versión 4.1.0."}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L","baseScore":7.9,"baseSeverity":"HIGH","attackVector":"ADJACENT_NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"LOW"},"exploitabilityScore":1.3,"impactScore":6.0},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-20"},{"lang":"en","value":"CWE-78"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:sourcegraph:sourcegraph:*:*:*:*:*:*:*:*","versionEndExcluding":"4.1.0","matchCriteriaId":"BA55E579-49E4-47DD-BD60-FC3DFE4E23D0"}]}]}],"references":[{"url":"https://github.com/sourcegraph/sourcegraph/pull/42553","source":"security-advisories@github.com","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-pfm3-23mh-6xjp","source":"security-advisories@github.com","tags":["Third Party Advisory"]},{"url":"https://github.com/sourcegraph/sourcegraph/pull/42553","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-pfm3-23mh-6xjp","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]}]}}]}