Saloon has insecure deserialization in AccessTokenAuthenticator (object injection / RCE)
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| saloonphp | saloon | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Saloonphp | Saloon |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-rf88-776r-rcq9 | Saloon has insecure deserialization in AccessTokenAuthenticator |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.646% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Saloon
Saloon saloon |
|
| CPEs | cpe:2.3:a:saloon:saloon:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Saloon
Saloon saloon |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Saloonphp
Saloonphp saloon |
|
| Vendors & Products |
Saloonphp
Saloonphp saloon |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Saloon is a PHP library that gives users tools to build API integrations and SDKs. Versions prior to 4.0.0 used PHP's unserialize() in AccessTokenAuthenticator::unserialize() to restore OAuth token state from cache or storage, with allowed_classes => true. An attacker who can control the serialized string (e.g. by overwriting a cached token file or via another injection) can supply a serialized "gadget" object. When unserialize() runs, PHP instantiates that object and runs its magic methods (__wakeup, __destruct, etc.), leading to object injection. In environments with common dependencies (e.g. Monolog), this can be chained to remote code execution (RCE). The fix in version 4.0.0 removes PHP serialization from the AccessTokenAuthenticator class requiring users to store and resolve the authenticator manually. | |
| Title | Saloon has insecure deserialization in AccessTokenAuthenticator (object injection / RCE) | |
| Weaknesses | CWE-502 | |
| References |
| |
| Metrics |
cvssV4_0
|