CVE-2019-3792: SQL Injection in github.com/concourse/concourse/atc/db

Summary

15/02/2022
Yes i
High
7.5

CVE-2019-3792: Pivotal Concourse SQL Injection Vulnerability. Affects github.com/concourse/concourse versions < 5.0.1. Fixed in 5.0.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The package github.com/concourse/concourse/atc/db is a part of Pivotal Concourse version 5.0.0. It provides an API that allows Concourse resources to interact with the Concourse server. This package is written in Go and is vulnerable to SQL injection attacks. An attacker can exploit this vulnerability by crafting a version identifier that carries a SQL injection payload to the Concourse server. This allows the attacker to read privileged data from the server.

Vulnerability Detail

The SQL injection vulnerability in Pivotal Concourse version 5.0.0 allows an attacker to execute arbitrary SQL queries on the Concourse server. By manipulating the version identifier, the attacker can inject malicious SQL code that can bypass input validation and access sensitive data. This can lead to unauthorized access, data leakage, and potential compromise of the Concourse server. The vulnerability has a CVSS score of 5.6, indicating a moderate severity.

How To Fix

Minimum fixed version

5.0.1

This is the first release that contains the fix.

go get github.com/concourse/concourse@v5.0.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, it is strongly advised to upgrade to the fixed version as soon as possible to mitigate the risk of SQL injection attacks.

Conclusion

In conclusion, the package github.com/concourse/concourse/atc/db in Pivotal Concourse version 5.0.0 is vulnerable to SQL injection. This vulnerability can be exploited by crafting a malicious version identifier, allowing an attacker to execute arbitrary SQL queries and access privileged data. It is crucial to upgrade to the fixed version (5.0.1) to protect the Concourse server from potential attacks. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for github.com/concourse/concourse →

Share this vulnerability

FAQ

The vulnerability allows an attacker to execute arbitrary SQL queries on the Concourse server, potentially leading to unauthorized access and data leakage.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using only the Gopkg.lock file.

Yes, the CVSS score for this vulnerability is 5.6, indicating a moderate severity.

There are no known exploits for this vulnerability at the moment. However, it is still important to patch the vulnerability to prevent any potential attacks.

The recommended course of action is to upgrade to the fixed version of Pivotal Concourse (5.0.1) to mitigate the risk of SQL injection attacks.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/concourse/concourse.

How To Fix

Minimum fixed version

5.0.1

This is the first release that contains the fix.

go get github.com/concourse/concourse@v5.0.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback