Accepted CVEs for Sourcegraph 4.0.1

CVE IDAffected ImagesCVE SeveritySourcegraph AssessmentDetails
CVE-2021-23214sourcegraph/serverHighInfoSome vulnerability scanners fingerprint this image as containing PostgreSQL 12.9, while the image actually contains 12.10. This finding is a false positive.
CVE-2021-32027sourcegraph/serverHighInfoSome vulnerability scanners fingerprint this image as containing PostgreSQL 12.7, while the image actually contains 12.10. This finding is a false positive.
CVE-2021-33194sourcegraph/grafana, sourcegraph/cadvisor, sourcegraph/serverHighLowThe CVE affects HTML parsers, specifically the ParseFragment function. The affected dependencies don’t use the function nor import the library.
CVE-2021-38561sourcegraph/grafana, sourcegraph/cadvisor, sourcegraph/serverHighInfoThe CVE affects application parsing language tag using the affected library. Neither of the Sourcegraph dependencies use x/text to parse arbitrary language tags.
CVE-2021-44716sourcegraph/grafana, sourcegraph/cadvisor, sourcegraph/serverHighLowIn certain conditions, the monitoring functionality packaged with Sourcegraph (Grafana and cAdvisor) could be rendered temporarily inoperable via specially crafted HTTP/2 requests. Exploiting this vulnerability requires administrator-level access, and does not affect the core Sourcegraph functionality. Sourcegraph does not consider this issue a viable security threat to the product.
CVE-2022-1552sourcegraph/serverHighInfoThe vulnerability affects Postgres servers with multiple users where one user can bypass authorization controls and execute commands under a superuser identity. Sourcegraph runs Postgres with only the sg user, making the application not affected by this vulnerability.
CVE-2022-2625sourcegraph/serverHighInfoSourcegraph’s default permissions model means it is not vulnerable to this issue.
CVE-2022-2795sourcegraph/frontend, sourcegraph/gitserver, sourcegraph/jaeger-all-in-one, sourcegraph/migrator, sourcegraph/postgres_exporter, sourcegraph/worker, sourcegraph/jaeger-agent, sourcegraph/repo-updater, sourcegraph/searcher, sourcegraph/syntax-highlighter, sourcegraph/github-proxy, sourcegraph/precise-code-intel-worker, sourcegraph/opentelemetry-collectorHighInfoA dependency bundled with Sourcegraph is vulnerable to denial of service attacks when configured in a specific way. Sourcegraph does not use this dependency in a way that renders it vulnerable to this issue.
CVE-2022-2881sourcegraph/frontend, sourcegraph/gitserver, sourcegraph/jaeger-all-in-one, sourcegraph/migrator, sourcegraph/postgres_exporter, sourcegraph/worker, sourcegraph/jaeger-agent, sourcegraph/repo-updater, sourcegraph/searcher, sourcegraph/syntax-highlighter, sourcegraph/github-proxy, sourcegraph/precise-code-intel-worker, sourcegraph/opentelemetry-collectorHighInfoSome scanners incorrectly report our images as affected by this CVE – we are running a version of the affected software (9.16) that is not affected by this issue.
CVE-2022-2906sourcegraph/frontend, sourcegraph/gitserver, sourcegraph/jaeger-all-in-one, sourcegraph/migrator, sourcegraph/postgres_exporter, sourcegraph/worker, sourcegraph/jaeger-agent, sourcegraph/repo-updater, sourcegraph/searcher, sourcegraph/syntax-highlighter, sourcegraph/github-proxy, sourcegraph/precise-code-intel-worker, sourcegraph/opentelemetry-collectorHighInfoSome scanners incorrectly report our images as affected by this CVE – we are running a version of the affected software (9.16) that is not affected by this issue.
CVE-2022-3080sourcegraph/frontend, sourcegraph/gitserver, sourcegraph/jaeger-all-in-one, sourcegraph/migrator, sourcegraph/postgres_exporter, sourcegraph/worker, sourcegraph/jaeger-agent, sourcegraph/repo-updater, sourcegraph/searcher, sourcegraph/syntax-highlighter, sourcegraph/github-proxy, sourcegraph/precise-code-intel-worker, sourcegraph/opentelemetry-collectorHighInfoA dependency bundled with Sourcegraph is vulnerable to denial of service attacks when configured in a specific way. Sourcegraph does not use this dependency in a way that renders it vulnerable to this issue.
CVE-2022-21698sourcegraph/cadvisor, sourcegraph/grafana, sourcegraph/postgres_exporter, sourcegraph/serverHighLowThe vulnerability affects several third party images shipped with Sourcegraph. However, it doesn’t affect Sourcegraph services dirtectly and the third party services are not exposed via HTTP. Sourcegraph is not vulnerable to this vulnerability.
CVE-2022-27191caddy, sourcegraph/grafana, sourcegraph/prometheus, sourcegraph/server, sourcegraph/postgres_exporterHighInfoThis vulnerability impacts SSH servers using the affected dependency. None of the affected images have ssh servers, much less using the dependency. Sourcegraph is not affected by this issue.
CVE-2022-27664sourcegraph/cadvisor, sourcegraph/prometheus, sourcegraph/grafana, sourcegraph/jaeger-all-in-one, sourcegraph/minio, sourcegraph/indexed-searcher, sourcegraph/server, caddy, sourcegraph/jaeger-agent, sourcegraph/search-indexer, sourcegraph/postgres_exporter, sourcegraph/node-exporterHighLowThis is a denial of service vulnerability that could affect the availability of Sourcegraph services in specific situations. As Sourcegraph is run as an internal service, our assessment of the severity of this issue is Low.
CVE-2022-37315sourcegraph/frontend, sourcegraph/gitserver, sourcegraph/migrator, sourcegraph/precise-code-intel-worker, sourcegraph/repo-updater, sourcegraph/searcher, sourcegraph/server, sourcegraph/sg, sourcegraph/symbols, sourcegraph/workerHighInfoThis issue does not affect our GraphQL API. Users are only allowed to fully control GraphQL requests through the API console, which properly sanitizes the queries.
CVE-2022-38177sourcegraph/frontend, sourcegraph/gitserver, sourcegraph/jaeger-all-in-one, sourcegraph/migrator, sourcegraph/postgres_exporter, sourcegraph/worker, sourcegraph/jaeger-agent, sourcegraph/repo-updater, sourcegraph/searcher, sourcegraph/syntax-highlighter, sourcegraph/github-proxy, sourcegraph/precise-code-intel-worker, sourcegraph/opentelemetry-collectorHighInfoA dependency bundled with Sourcegraph is vulnerable to denial of service attacks when configured in a specific way. Sourcegraph does not use this dependency in a way that renders it vulnerable to this issue.
CVE-2022-38178sourcegraph/frontend, sourcegraph/gitserver, sourcegraph/jaeger-all-in-one, sourcegraph/migrator, sourcegraph/postgres_exporter, sourcegraph/worker, sourcegraph/jaeger-agent, sourcegraph/repo-updater, sourcegraph/searcher, sourcegraph/syntax-highlighter, sourcegraph/github-proxy, sourcegraph/precise-code-intel-worker, sourcegraph/opentelemetry-collectorHighInfoA dependency bundled with Sourcegraph is vulnerable to denial of service attacks when configured in a specific way. Sourcegraph does not use this dependency in a way that renders it vulnerable to this issue.
CVE-2022-40674sourcegraph/cadvisor, sourcegraph/search-indexerHighInfoThis vulnerability affects a dependency of cAdvisor. cAdvisor itself does not use the vulnerable functionality, and is therefore not affected by the issue. It also affects our search-indexer image but Zoekt does not parse XML thus not being vulnerable to the issue.
CVE-2021-43565sourcegraph/server, sourcegraph/prometheus, sourcegraph/grafana, sourcegraph/postgres_exporterHighInfoThis vulnerability is reported in dependencies included by Sourcegraph. Sourcegraph itself doesn’t use the vulnerable functionality, and is therefore not affected by the issue.
CVE-2022-37434caddyHighLowThis vulnerability affects zlib, specifically the inflateGetHeader function. We use caddy as a reverse proxy and it does not process compressed files for Sourceraph. There is also no indication that caddy is vulnerable at all, similarly to NodeJS for the same vulnerability.