Description
Net::OAuth versions before 0.33 for Perl check HMAC-SHA1, HMAC-SHA256 and PLAINTEXT signatures with a non-constant-time comparison in verify.
Each of the three compares the signature carried in the message against the locally computed one with the eq operator, which returns as soon as the two strings differ. The time taken to reject a signature varies with the length of the matching prefix. RSA-SHA1 is not affected, as it verifies through the RSA key object rather than by comparing strings.
A client that can submit messages and time the replies may recover a valid signature one byte at a time rather than searching the whole signature space. Under PLAINTEXT the value compared against is the signature key itself, so the search recovers consumer_secret and token_secret.
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