Description
Net::OAuth versions before 0.33 for Perl allow the sender to choose the signature algorithm in verify.
verify resolves the signature method class from the signature_method parameter of the incoming message. signature_method is required on every request, so the algorithm used to check a signature is chosen by whoever sent it, and nothing lets the verifying party pin the method instead. When a message names HMAC-SHA1 or HMAC-SHA256, the key is derived from consumer_secret and token_secret rather than from the key the provider deployed.
A provider deployed on RSA-SHA1 holds only the consumer public key, and RFC 5849 does not use consumer_secret for that method, so the required parameter is filled with a placeholder. A client that names HMAC-SHA1 instead has its signature checked against that placeholder, so a guessable one is enough to forge requests for any consumer key and token.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Net-OAuth | < 0.33 | 0.33 |
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 14 | libnet-oauth-perl | 0.33-1 | — |
| Debian 13 | libnet-oauth-perl | No fix yet | — |
| Debian 12 | libnet-oauth-perl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libnet-oauth-perl | No fix yet | — |
| Ubuntu 26.04 LTS | libnet-oauth-perl | No fix yet | — |
| Ubuntu 24.04 LTS | libnet-oauth-perl | No fix yet | — |
| Ubuntu 22.04 LTS | libnet-oauth-perl | No fix yet | — |
| Ubuntu 20.04 LTS | libnet-oauth-perl | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libnet-oauth-perl | No fix yet | — |
| Ubuntu 16.04 LTS | libnet-oauth-perl | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-Net-OAuth | 0.330.0-1.1 | openSUSE-SU-2026:11551-1 |
Advisories 1
- openSUSE-SU-2026:11551-1 perl-Net-OAuth-0.330.0-1.1 on GA media SUSE / openSUSE Security Updates · Aug 21, 2026
References
- https://github.com/vurtdev/Net-OAuth/security/advisories/GHSA-c8rm-g5cm-4pf5 vendor-advisory
- https://github.com/vurtdev/Net-OAuth/commit/c467adf45c8d77ac4b92ad78b3eebf949252ba7f.patch patch
- https://metacpan.org/release/RRWO/Net-OAuth-0.33/changes release-notes
- https://datatracker.ietf.org/doc/html/rfc5849#section-3.4.2 technical-description
- https://datatracker.ietf.org/doc/html/rfc5849#section-3.4.3 technical-description