CVE-2017-1000069: Cross-site Request Forgery (CSRF) in Bitly oauth2_proxy

Summary

20/12/2021
Yes i
High
8.8

CVE-2017-1000069: Cross-site Request Forgery (CSRF). Affects github.com/bitly/oauth2_proxy versions < 2.2.0. Fixed in 2.2.0. 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

Bitly oauth2_proxy is a Go package that provides a reverse proxy for authenticating requests using OAuth2. It is commonly used to secure web applications by handling authentication and authorization. The package integrates with various OAuth2 providers, allowing users to authenticate using their existing accounts. However, a vulnerability has been discovered in version 2.1 of oauth2_proxy that allows for Cross-site Request Forgery (CSRF) attacks during the authentication flow.

Vulnerability Detail

The CSRF vulnerability in Bitly oauth2_proxy 2.1 occurs during the authentication flow. An attacker can craft a malicious request that, when executed by an authenticated user, performs unintended actions on their behalf. This can lead to unauthorized access, data manipulation, or other malicious activities. The vulnerability has a CVSS score of 8.8, indicating a high severity level.

How To Fix

Latest published version: v2.0.1+incompatible as of 22 Oct 2026

go get github.com/bitly/oauth2_proxy@v2.0.1+incompatible

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.2.0

This is the first release that contains the fix.

go get github.com/bitly/oauth2_proxy@v2.2.0

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

Workaround

There is no known workaround for this vulnerability. It is essential to upgrade to the fixed version to mitigate the risk of CSRF attacks.

Conclusion

The CSRF vulnerability in Bitly oauth2_proxy 2.1 poses a significant security risk, allowing attackers to perform unauthorized actions on behalf of authenticated users. To mitigate this risk, it is crucial to upgrade to version 2.2 or later of oauth2_proxy. This upgrade includes patches and security enhancements that prevent CSRF attacks during the authentication flow. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for github.com/bitly/oauth2_proxy →

Share this vulnerability

FAQ

Cross-site Request Forgery (CSRF) is an attack that tricks the victim into submitting a malicious request. It occurs when an attacker can force a user's browser to make a request on their behalf, potentially leading to unauthorized actions.

The CSRF vulnerability in Bitly oauth2_proxy can allow an attacker to perform actions on behalf of an authenticated user. This can lead to unauthorized access, data manipulation, or other malicious activities depending on the actions allowed by the application.

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, providing information without requiring access to the code or installation.

Yes, upgrading to version 2.2 or later of Bitly oauth2_proxy fixes the CSRF vulnerability. It is recommended to update to the latest version to ensure your application is protected.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/bitly/oauth2_proxy.

How To Fix

Latest published version: v2.0.1+incompatible as of 22 Oct 2026

go get github.com/bitly/oauth2_proxy@v2.0.1+incompatible

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.2.0

This is the first release that contains the fix.

go get github.com/bitly/oauth2_proxy@v2.2.0

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.