{"api_version":"1","generated_at":"2026-07-24T19:48:00+00:00","cve":"CVE-2022-23643","urls":{"html":"https://cve.report/CVE-2022-23643","api":"https://cve.report/api/cve/CVE-2022-23643.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-23643","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-23643"},"summary":{"title":"CVE-2022-23643","description":"Sourcegraph is a code search and navigation engine. Sourcegraph versions 3.35 and 3.36 reintroduced a previously fixed side-channel vulnerabilitity in the Code Monitoring feature where strings in private source code could be guessed by an authenticated but unauthorized actor. This issue affects only the Code Monitoring feature, whereas CVE-2021-43823 also affected saved searches. A successful attack would require an authenticated bad actor to create many Code Monitors to receive confirmation that a specific string exists. This could allow an attacker to guess formatted tokens in source code, such as API keys. This issue was patched in versions 3.35.2 and 3.36.3 of Sourcegraph. Those who are unable to upgrade may disable the Code Monitor feature in their installation.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-02-15 22:15:00","updated_at":"2022-02-24 15:43:00"},"problem_types":["CWE-203"],"metrics":[],"references":[{"url":"https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-xqv2-x6f2-w3pf","name":"https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-xqv2-x6f2-w3pf","refsource":"CONFIRM","tags":["Issue Tracking","Third Party Advisory"],"title":"Side-channel attack in Sourcegraph Code Monitors · Advisory · sourcegraph/sourcegraph · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/sourcegraph/sourcegraph/pull/30547","name":"https://github.com/sourcegraph/sourcegraph/pull/30547","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"set the actor for code monitor searches to monitor owner by camdencheek · Pull Request #30547 · sourcegraph/sourcegraph · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-23643","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23643","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"23643","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sourcegraph","cpe5":"sourcegraph","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-23643","STATE":"PUBLIC","TITLE":"Side-channel attack in Sourcegraph Code Monitors"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"sourcegraph","version":{"version_data":[{"version_value":">= 3.35, < 3.35.2"},{"version_value":">= 3.36, < 3.36.3"}]}}]},"vendor_name":"sourcegraph"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Sourcegraph is a code search and navigation engine. Sourcegraph versions 3.35 and 3.36 reintroduced a previously fixed side-channel vulnerabilitity in the Code Monitoring feature where strings in private source code could be guessed by an authenticated but unauthorized actor. This issue affects only the Code Monitoring feature, whereas CVE-2021-43823 also affected saved searches. A successful attack would require an authenticated bad actor to create many Code Monitors to receive confirmation that a specific string exists. This could allow an attacker to guess formatted tokens in source code, such as API keys. This issue was patched in versions 3.35.2 and 3.36.3 of Sourcegraph. Those who are unable to upgrade may disable the Code Monitor feature in their installation."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor"}]},{"description":[{"lang":"eng","value":"CWE-203: Observable Discrepancy"}]}]},"references":{"reference_data":[{"name":"https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-xqv2-x6f2-w3pf","refsource":"CONFIRM","url":"https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-xqv2-x6f2-w3pf"},{"name":"https://github.com/sourcegraph/sourcegraph/pull/30547","refsource":"MISC","url":"https://github.com/sourcegraph/sourcegraph/pull/30547"}]},"source":{"advisory":"GHSA-xqv2-x6f2-w3pf","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-02-15 22:15:00","lastModifiedDate":"2022-02-24 15:43:00","problem_types":["CWE-203"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sourcegraph:sourcegraph:*:*:*:*:*:*:*:*","versionStartIncluding":"3.36.0","versionEndExcluding":"3.36.3","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sourcegraph:sourcegraph:*:*:*:*:*:*:*:*","versionStartIncluding":"3.35.0","versionEndExcluding":"3.35.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"23643","Ordinal":"226474","Title":"CVE-2022-23643","CVE":"CVE-2022-23643","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"23643","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}