fix(deps): update dependency luxon to v1.28.1 [security] #42
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.12.1
->1.28.1
GitHub Vulnerability Alerts
CVE-2023-22467
Impact
Luxon's `DateTime.fromRFC2822() has quadratic (N^2) complexity on some specific inputs. This causes a noticeable slowdown for inputs with lengths above 10k characters. Users providing untrusted data to this method are therefore vulnerable to (Re)DoS attacks.
This is the same bug as Moment's GHSA-wc69-rhjr-hc9g
Workarounds
Limit the length of the input.
References
There is an excellent writeup of the same issue in Moment: https://github.com/moment/moment/pull/6015#issuecomment-1152961973
Details
DateTime.fromRFC2822("(".repeat(500000))
takes a couple minutes to complete.Release Notes
moment/luxon (luxon)
v1.28.1
Compare Source
v1.28.0
Compare Source
v1.27.0
Compare Source
toRelative
v1.26.0
Compare Source
v1.25.0
Compare Source
v1.24.1
Compare Source
console.log
callv1.24.0
Compare Source
v1.23.0
Compare Source
v1.22.2
Compare Source
v1.22.0
Compare Source
v1.21.3
Compare Source
v1.21.2
Compare Source
v1.21.1
Compare Source
v1.21.0
Compare Source
v1.20.0
Compare Source
v1.19.3
Compare Source
v1.19.2
Compare Source
v1.19.1
Compare Source
v1.19.0
Compare Source
v1.18.2
Compare Source
v1.18.1
Compare Source
v1.18.0
Compare Source
v1.17.3
Compare Source
v1.17.2
Compare Source
toRelative
usingstyle: short
with plural daysv1.17.1
Compare Source
v1.17.0
Compare Source
DATETIME_MED_WITH_WEEKDAY
presetv1.16.1
Compare Source
v1.16.0
Compare Source
v1.15.0
Compare Source
formatOffset
to Zonesv1.14.0
Compare Source
v1.13.3
Compare Source
v1.13.2
Compare Source
v1.13.1
Compare Source
v1.13.0
Compare Source
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.
This PR has been generated by Mend Renovate. View repository job log here.