Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚨 [security] [php - developer] Update smarty/smarty 4.3.0 → 4.5.3 (minor) #577

Open
wants to merge 1 commit into
base: developer
Choose a base branch
from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented May 29, 2024


🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ smarty/smarty (4.3.0 → 4.5.3) · Repo · Changelog

Security Advisories 🚨

🚨 Smarty vulnerable to PHP Code Injection by malicious attribute in extends-tag

Impact

Template authors could inject php code by choosing a malicous file name for an extends-tag. Users that cannot fully trust template authors should update asap.

Patches

Please upgrade to the most recent version of Smarty v4 or v5. There is no patch for v3.

🚨 smarty Cross-site Scripting vulnerability in Javascript escaping

Impact

An attacker could exploit this vulnerability to execute arbitrary JavaScript code in the context of the user's browser session. This may lead to unauthorized access to sensitive user data, manipulation of the web application's behavior, or unauthorized actions performed on behalf of the user.

Patches

Please upgrade to the most recent version of Smarty v3 or v4.

For more information

If you have any questions or comments about this advisory please open an issue in the Smarty repo

Release Notes

4.5.2

What's Changed

  • Fixed argument must be passed by reference error introduced in v4.5.1 #964

Full Changelog: v4.5.1...v4.5.2

4.4.1

Full Changelog: v4.4.0...v4.4.1

4.4.0

What's Changed

  • Fix incorrect compilation of expressions when escape_html=true by @wisskid in #932
  • Prevent deprecation notices for implode, json_encode and substr modif… by @wisskid in #942

Full Changelog: v4.3.5...v4.4.0

4.3.2

What's Changed

  • Remove md5 modifier from debug.tpl by @j-applese3d in #871
  • muteUndefinedOrNullWarnings() now also mutes PHP8 warnings for undefi… by @wisskid in #891

New Contributors

Full Changelog: v4.3.1...v4.3.2

4.3.1

Security

  • Fixed Cross site scripting vulnerability in Javascript escaping. This addresses CVE-2023-28447.

Fixed

  • $smarty->muteUndefinedOrNullWarnings() now also mutes PHP7 notices for undefined array indexes #736
  • $smarty->muteUndefinedOrNullWarnings() now treats undefined vars and array access of a null or false variables
    equivalent across all supported PHP versions
  • $smarty->muteUndefinedOrNullWarnings() now allows dereferencing of non-objects across all supported PHP versions #831
  • PHP 8.1 deprecation warnings on null strings in modifiers #834

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 65 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants