Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 9, 2024

This PR contains the following updates:

Package Change Age Confidence
livewire/livewire 2.10.72.12.7 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

GitHub Vulnerability Alerts

CVE-2024-47823

In livewire/livewire prior to v2.12.7 and v3.5.2, the file extension of an uploaded file is guessed based on the MIME type. As a result, the actual file extension from the file name is not validated. An attacker can therefore bypass the validation by uploading a file with a valid MIME type (e.g., image/png) and a “.php” file extension.
If the following criteria are met, the attacker can carry out an RCE attack:

  • Filename is composed of the original file name using $file->getClientOriginalName()
  • Files stored directly on your server in a public storage disk
  • Webserver is configured to execute “.php” files

PoC

In the following scenario, an attacker could upload a file called shell.php with an image/png MIME type and execute it on the remote server.

class SomeComponent extends Component
{
    use WithFileUploads;

    #[Validate('image|extensions:png')]
    public $file;

    public function save()
    {
        $this->validate();

        $this->file->storeAs(
            path: 'images',
            name: $this->file->getClientOriginalName(),
            options: ['disk' => 'public'],
        );
    }
}

Release Notes

livewire/livewire (livewire/livewire)

v2.12.7

Compare Source

What's Changed

New Contributors

Full Changelog: livewire/livewire@v2.12.6...v2.12.7

v2.12.6

Compare Source

What's Changed

  • [v2] Revert "[v2] Fix extension guessing (#​6011)"

Full Changelog: livewire/livewire@v2.12.5...v2.12.6

v2.12.5

Compare Source

What's Changed

  • [v2] Fix for imageSize method on TemporaryUploadedFile to support dimensions validation rule by @​jordanhavard in #​6083

Full Changelog: livewire/livewire@v2.12.4...v2.12.5

v2.12.4

Compare Source

What's Changed

Full Changelog: livewire/livewire@v2.12.3...v2.12.4

v2.12.3

Compare Source

  • Added missing component resolver to resolve expensive components JIT

Full Changelog: livewire/livewire@v2.12.2...v2.12.3

v2.12.2

Compare Source

What's Changed

Full Changelog: livewire/livewire@v2.12.1...v2.12.2

v2.12.1

Compare Source

What's Changed

Full Changelog: livewire/livewire@v2.12.0...v2.12.1

v2.12.0

Compare Source

What's Changed

Full Changelog: livewire/livewire@v2.11.3...v2.12.0

v2.11.3

Compare Source

What's Changed

Full Changelog: livewire/livewire@v2.11.2...v2.11.3

v2.11.2

Compare Source

What's Changed

Full Changelog: livewire/livewire@v2.11.1...v2.11.2

v2.11.1

Compare Source

What's Changed

New Contributors

Full Changelog: livewire/livewire@v2.11.0...v2.11.1

v2.11.0

Compare Source

What's Changed

Full Changelog: livewire/livewire@v2.10.8...v2.11.0

v2.10.8

Compare Source

What's Changed

New Contributors

Full Changelog: livewire/livewire@v2.10.7...v2.10.8


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Oct 9, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update livewire/livewire:2.12.7 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Dependency laravel/framework is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - cviebrock/eloquent-sluggable is locked to version 9.0.0 and an update of this package was not requested.
    - cocur/slugify v4.2.0 requires php ^7.1 || ~8.0.0 || ~8.1.0 -> your php version (8.5.1) does not satisfy that requirement.
    - cviebrock/eloquent-sluggable 9.0.0 requires cocur/slugify ^4.0 -> satisfiable by cocur/slugify[v4.2.0].


@renovate renovate bot changed the title fix(deps): update dependency livewire/livewire to v3 [security] fix(deps): update dependency livewire/livewire to v2.12.7 [security] Oct 10, 2024
@renovate renovate bot changed the title fix(deps): update dependency livewire/livewire to v2.12.7 [security] chore(deps): update dependency livewire/livewire to v2.12.7 [security] Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant