Incorrect routing of HTTP requests in gobase when using httpauth

github.com/ntbosscher/gobase Updated 02 Oct 2025

Summary

11/02/2022
Yes i
Low
3.7

CVE-2022-2583: gobase subject to Incorrect routing of some HTTP requests when using httpauth due to a race condition. Affects github.com/ntbosscher/gobase versions < 0.7.2. Fixed in 0.7.2. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

gobase is a Go package that provides a foundation for building web applications. It offers various functionalities and features to simplify the development process. However, a vulnerability has been identified in gobase when using httpauth, which leads to incorrect routing of some HTTP requests.

Vulnerability Detail

The vulnerability in gobase occurs due to incorrect routing of certain HTTP requests when using httpauth. This can result in unexpected behavior and potential security risks. Attackers may be able to bypass authentication or access unauthorized resources. The issue has been assigned a severity level of HIGH.

How To Fix

Minimum fixed version

0.7.2

This is the first release that contains the fix.

go get github.com/ntbosscher/gobase@v0.7.2

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

Workaround

No specific workaround has been mentioned for this vulnerability. The recommended approach is to upgrade to the fixed version of gobase.

Conclusion

In conclusion, the vulnerability in gobase when using httpauth can lead to incorrect routing of HTTP requests. It is recommended to upgrade to version 0.7.2 of gobase to fix this issue. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for github.com/ntbosscher/gobase →

Share this vulnerability

FAQ

gobase is a Go package that provides a foundation for building web applications. It offers various functionalities and features to simplify the development process.

The vulnerability in gobase can lead to incorrect routing of some HTTP requests when using httpauth. This can result in unexpected behavior and potential security risks, such as bypassing authentication or accessing unauthorized resources.

To fix this vulnerability, it is recommended to upgrade to version 0.7.2 of gobase. This version includes a patch that addresses the incorrect routing of HTTP requests when using httpauth.

No specific workaround has been mentioned for this vulnerability. The recommended approach is to upgrade to the fixed version of gobase.

For more information about this vulnerability, you can email nbosscher@blue-giraffe.ca.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

0.7.2

This is the first release that contains the fix.

go get github.com/ntbosscher/gobase@v0.7.2

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