GHSA-7fjp-g4m7-fx23: Pwweb/laravel core User (Encrypted) Password Field Being Vulnerability
LOWGHSA-7fjp-g4m7-fx23 is a LOW user (encrypted) password field being vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Pwweb/laravel core libraries in the Packagist ecosystem. The issue involves user (encrypted) password field being serialised. Remediation is available by upgrading affected packages to version 0.3.7-beta.
GHSA-7fjp-g4m7-fx23 at a Glance
How to Fix GHSA-7fjp-g4m7-fx23
To remediate this vulnerability, upgrade all affected Pwweb/laravel core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade pwweb/laravel-core to 0.3.7-beta
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for pwweb/laravel-core
How to Check if You Are Affected
To determine whether your application is affected by GHSA-7fjp-g4m7-fx23, inspect your project dependencies for Pwweb/laravel core:
inspect dependencies for pwweb/laravel-core
Analyze the terminal output to locate any version of Pwweb/laravel core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.3.7-beta), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Pwweb/laravel core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-7fjp-g4m7-fx23 Affected Pwweb/laravel core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pwweb/laravel-core
|
Packagist |
< 0.3.7-beta
|
0.3.7-beta
|
References
Frequently Asked Questions
What is GHSA-7fjp-g4m7-fx23?
Which Pwweb/laravel core versions are affected?
What version fixes GHSA-7fjp-g4m7-fx23?
Is pwweb/laravel-core affected?
What CWE is associated with GHSA-7fjp-g4m7-fx23?
How can I check Packagist dependencies for GHSA-7fjp-g4m7-fx23?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7fjp-g4m7-fx23",
"modified" : "2021-04-12T20:05:57Z",
"published" : "2021-04-13T15:12:26Z",
"aliases" : [ ],
"summary" : "User (Encrypted) Password Field Being Serialised",
"details" : "### Impact\nLeaking Password field during serialisation of the User model. Password is in the encrypted form but if User model is requested in json or array form the value is printed.\n\n### Patches\nIssue has been patched in version 0.3.7-beta and onwards.\n\n### Workarounds\nAdd the 'password' field to the Users model file in the hidden array:\n\n```php\n\n /**\n * The attributes that should be hidden for arrays.\n *\n * @var array\n */\n protected $hidden = [\n 'remember_token',\n 'password',\n ];\n```\n\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [pwweb/laravel-core](https://github.com/pwweb/laravel-core)\n* Email us at [security@pw-websolutions.com](mailto:security@pw-websolutions.com)",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "pwweb/laravel-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.3.7-beta"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.3.6-beta"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/pwweb/laravel-core/security/advisories/GHSA-7fjp-g4m7-fx23"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2021-04-12T20:05:57Z",
"nvd_published_at" : null
}
}