CVE-2019-10416: Violation Comments to GitLab Plugin has Insufficiently Protected Credentials

Summary

24/05/2022
Yes i
Moderate
4.3

CVE-2019-10416: Violation Comments to GitLab Plugin has Insufficiently Protected Credentials. Affects org.jenkins-ci.plugins:violation-comments-to-gitlab versions < 2.29. Fixed in 2.29. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Violation Comments to GitLab Plugin is a Maven package that integrates GitLab with Jenkins, allowing users to automatically post comments on GitLab merge requests based on violations found in the Jenkins build. It is widely used in software development workflows to improve code quality and collaboration. However, prior to version 2.29, the plugin stored API tokens unencrypted in job configuration files and the global configuration file on the Jenkins controller. This posed a security risk as these credentials could be accessed by unauthorized users or those with extended read permissions.

Vulnerability Detail

The vulnerability (CVE-2019-10416) in the Violation Comments to GitLab Plugin allowed API tokens to be stored in plain text, making them easily accessible to unauthorized users. This could lead to potential misuse of the tokens, compromising the security of the GitLab integration. Users with Extended Read permission or access to the Jenkins controller file system could view these credentials. The issue was addressed in version 2.29, which introduced encryption for storing the credentials. Existing jobs need to have their configuration saved to overwrite the plain text credentials.

How To Fix

Minimum fixed version

2.29

This is the first release that contains the fix.

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

Workaround

There is no specific workaround for this vulnerability. Upgrading to the fixed version is the recommended solution.

Conclusion

The Violation Comments to GitLab Plugin had a vulnerability (CVE-2019-10416) that allowed API tokens to be stored in plain text, potentially compromising the security of the GitLab integration. This issue was addressed in version 2.29, which introduced encryption for storing the credentials. Users should upgrade to the fixed version and save the configuration of existing jobs to ensure the credentials are properly protected. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:violation-comments-to-gitlab →

Share this vulnerability

FAQ

The Violation Comments to GitLab Plugin is a Maven package that integrates GitLab with Jenkins, allowing users to automatically post comments on GitLab merge requests based on violations found in the Jenkins build.

This vulnerability allows unauthorized users or those with extended read permissions to access API tokens stored in plain text. This could lead to misuse of the tokens and compromise the security of the GitLab integration.

To fix this vulnerability, upgrade to version 2.29 or later of the Violation Comments to GitLab Plugin and save the configuration of existing jobs to overwrite plain text credentials with encrypted ones.

No, there is no specific workaround for this vulnerability. Upgrading to the fixed version is the recommended solution.

It is recommended to regularly update the plugin to benefit from the latest security enhancements and bug fixes.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:violation-comments-to-gitlab.

How To Fix

Minimum fixed version

2.29

This is the first release that contains the fix.

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