GHSA-rj3w-99gc-8j58 Laravel Risk of mass-assignment vulnerabilities
Not scored
Published
Check this codebase for GHSA-rj3w-99gc-8j58 and fix it if it is affected.
What it is: GHSA-rj3w-99gc-8j58 is a vulnerability in laravel/framework, published on 15 May 2024.
Exploitation: There is no known exploitation of GHSA-rj3w-99gc-8j58 in the wild and no public exploit code.
Affected packages and fixed versions:
- laravel/framework (Packagist): affected from 4.0.0; fixed in 4.1.29
- laravel/framework (Packagist): affected from 4.0.0; fixed in 4.1.29
Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.
Reference: https://insights.sbomify.com/GHSA-rj3w-99gc-8j58/ (Markdown: https://insights.sbomify.com/GHSA-rj3w-99gc-8j58/index.md)
- Exploited in the wild
- Not known
- Fix
- Available
What is GHSA-rj3w-99gc-8j58?
GHSA-rj3w-99gc-8j58 is a vulnerability in laravel/framework, published on 15 May 2024.
Official description
Laravel 4.1.29 improves the column quoting for all database drivers. This protects your application from some mass assignment vulnerabilities when not using the fillable property on models. If you are using the fillable property on your models to protect against mass assignment, your application is not vulnerable. However, if you are using guarded and are passing a user controlled array into an "update" or "save" type function, you should upgrade to 4.1.29 immediately as your application may be at risk of mass assignment.
Which versions are affected by GHSA-rj3w-99gc-8j58?
2 open source packages ship an affected version, including laravel/framework.
| Package | Affected | Fixed in |
|---|---|---|
laravel/framework Packagist | From 4.0.0 | 4.1.29 |
laravel/framework Packagist | From 4.0.0 | 4.1.29 |
How do I fix GHSA-rj3w-99gc-8j58?
Upgrade laravel/framework to 4.1.29 or later.
Is GHSA-rj3w-99gc-8j58 being exploited?
There is no known exploitation of GHSA-rj3w-99gc-8j58 in the wild and no public exploit code.