Advisory

USN-8983-1

Also known as: CVE-2019-25211

Summary

golang-github-gin-contrib-cors vulnerability

Details

It was discovered that the Gin CORS middleware incorrectly handled
wildcards at the end of origin strings. A remote attacker could possibly
use this issue to bypass the configured origin restrictions.

Severity

Not rated by the source.

Dates

Published
2026-11-03 17:35 UTC
Modified
2026-11-04 03:43 UTC

Affected packages and fixes

golang-github-gin-contrib-cors

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.3.1-1+deb11u1build0.22.04.1 (ecosystem)

Fixed versions

1.3.1-1+deb11u1build0.22.04.1

Fix

  • Fixed version 1.3.1-1+deb11u1build0.22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences