Approved changes feed: RSS · Atom

cpe:2.3:a:cordea:oauth:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorCordea (842d489e-a9da-5ee1-b3de-6bb2571741e9)
ProductOauth (283492c5-59c0-5e96-94b9-12677a863bca)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2024-42476 vulnerable 2026-06-08 06:45:46.515436 oauth CSRF vulnerability
MEDIUM (6.5)
In the OAuth library for nim prior to version 0.11, the Authorization Code grant and Implicit grant both rely on the `state` parameter to prevent cross-site request forgery (CSRF) attacks where a resource owner might have their session associated with protected resources belonging to an attacker. When this project is compiled with certain compiler flags set, it is possible that the `state` parameter will not be checked at all, creating a CSRF vulnerability. Version 0.11 checks the `state` parameter using a regular `if` statement or `doAssert` instead of relying on a plain `assert`. `doAssert` will achieve the desired behavior even if `-d:danger` or `--assertions:off` is set.
Published: 2024-08-15T18:48:08.325Z
Updated: 2024-08-20T15:39:54.912Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-42475 vulnerable 2026-06-08 06:45:46.514830 OAuth library for nim allows insecure generation of state values by generateState - entropy too low and uses regular PRNG instead of CSPRNG
MEDIUM (6.5)
In the OAuth library for nim prior to version 0.11, the `state` values generated by the `generateState` function do not have sufficient entropy. These can be successfully guessed by an attacker allowing them to perform a CSRF vs a user, associating the user's session with the attacker's protected resources. While `state` isn't exactly a cryptographic value, it should be generated in a cryptographically secure way. `generateState` should be using a CSPRNG. Version 0.11 modifies the `generateState` function to generate `state` values of at least 128 bits of entropy while using a CSPRNG.
Published: 2024-08-15T18:40:49.750Z
Updated: 2024-08-19T19:23:56.720Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.