{"id":"CVE-2022-0751","state":"PUBLISHED","title":"Inaccurate display of Snippet files containing special characters in all versions of GitLab CE/EE allows an attacker to create Snippets with misleading content which could trick un","description":"Inaccurate display of Snippet files containing special characters in all versions of GitLab CE/EE allows an attacker to create Snippets with misleading content which could trick unsuspecting users into executing arbitrary commands","publishedAt":"2022-03-28T18:53:03.000Z","updatedAt":"2024-08-02T23:40:03.589Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"GitLab"},"assigner":"GitLab","products":["GitLab GitLab"],"affected":[{"vendor":"GitLab","product":"GitLab","versions":[{"version":">=10.0, <14.6.5","status":"affected"},{"version":">=14.7, <14.7.4","status":"affected"},{"version":">=14.8, <14.8.2","status":"affected"}]}],"references":["https://gitlab.com/gitlab-org/gitlab/-/issues/349382","https://hackerone.com/reports/1420660","https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-0751.json"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:26.075Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/0xxx/CVE-2022-0751.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-0751","state":"PUBLISHED","datePublished":"2022-03-28T18:53:03.000Z","dateUpdated":"2024-08-02T23:40:03.589Z","assignerShortName":"GitLab","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateReserved":"2022-02-24T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Inaccurate display of Snippet files containing special characters in all versions of GitLab CE/EE allows an attacker to create Snippets with misleading content which could trick unsuspecting users into executing arbitrary commands"}],"affected":[{"vendor":"GitLab","product":"GitLab","versions":[{"version":">=10.0, <14.6.5","status":"affected"},{"version":">=14.7, <14.7.4","status":"affected"},{"version":">=14.8, <14.8.2","status":"affected"}]}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/349382","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/1420660","tags":["x_refsource_MISC"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-0751.json","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"Improper neutralization of special elements in output used by a downstream component ('injection') in GitLab","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"GitLab","dateUpdated":"2022-03-28T18:53:03.000Z","orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a"},"credits":[{"lang":"en","value":"Thanks [st4nly0n](https://hackerone.com/st4nly0n) for reporting this vulnerability through our HackerOne bug bounty program"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@gitlab.com","ID":"CVE-2022-0751","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"GitLab","version":{"version_data":[{"version_value":">=10.0, <14.6.5"},{"version_value":">=14.7, <14.7.4"},{"version_value":">=14.8, <14.8.2"}]}}]},"vendor_name":"GitLab"}]}},"credit":[{"lang":"eng","value":"Thanks [st4nly0n](https://hackerone.com/st4nly0n) for reporting this vulnerability through our HackerOne bug bounty program"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Inaccurate display of Snippet files containing special characters in all versions of GitLab CE/EE allows an attacker to create Snippets with misleading content which could trick unsuspecting users into executing arbitrary commands"}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.4,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Improper neutralization of special elements in output used by a downstream component ('injection') in GitLab"}]}]},"references":{"reference_data":[{"name":"https://gitlab.com/gitlab-org/gitlab/-/issues/349382","refsource":"MISC","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/349382"},{"name":"https://hackerone.com/reports/1420660","refsource":"MISC","url":"https://hackerone.com/reports/1420660"},{"name":"https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-0751.json","refsource":"CONFIRM","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-0751.json"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/349382","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://hackerone.com/reports/1420660","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-0751.json","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T23:40:03.589Z"}}]}}}