Description
A vulnerability was found in Macaron csrf and classified as problematic. Affected by this issue is some unknown functionality of the file csrf.go. The manipulation of the argument Generate leads to sensitive cookie without secure attribute. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The patch is identified as dadd1711a617000b70e5e408a76531b73187031c. It is recommended to apply a patch to fix this issue. VDB-217058 is the identifier assigned to this vulnerability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Macaron | csrf | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | golang-github-go-macaron-csrf | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | golang-github-go-macaron-csrf | No fix yet | — |
| Ubuntu 20.04 LTS | golang-github-go-macaron-csrf | No fix yet | — |
| Ubuntu 18.04 LTS | golang-github-go-macaron-csrf | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/go-macaron/csrf | < 0.0.0-20180426211050-dadd1711a617 | 0.0.0-20180426211050-dadd1711a617 | GHSA-hhxg-px5h-jc32 |
References
- https://vuldb.com/?id.217058 vdb-entry technical-description
- https://vuldb.com/?ctiid.217058 signature permissions-required
- https://github.com/go-macaron/csrf/pull/7 issue-tracking
- https://github.com/go-macaron/csrf/commit/dadd1711a617000b70e5e408a76531b73187031c patch