-
Notifications
You must be signed in to change notification settings - Fork 1
fix(deps): update dependency luxon to v2.5.2 [security] #325
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
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/npm-luxon-vulnerability
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5799c43 to
7917b1d
Compare
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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:
2.1.1->2.5.2GitHub 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)
v2.5.2Compare Source
v2.5.1Compare Source
v2.5.0Compare Source
2.4.0 (2022-05-08)
2022-05-08T20:42:00.000-04:00[America/New_York]extendedZoneoption totoISO()andtoISOTimeDateTime.isInDST()2.3.2 (2022-04-17)
2.3.1 (2022-02-23)
includeOffsetSpaceoption totoSQLandtoSQLTimetoUnixInteger-0when negating durations with zeros in them2.3.0 (2022-01-02)
toISO(),toISODate(),toISOTime(), andtoSQLDate()toISO()2.2.0 (2021-12-10)
fromFormatDuration.shiftTo()2.1.1 (2021-11-08)
hourCyclesupport and sometimes computed offsets 12 hours off2.1.0 (2021-11-07)
Etc/GMT*zonesuuanduuutokens for fractional millisecond parsing2.0.2 (2021-08-08)
Fix locale defaulting
2.0.0 (2021-07-3)
See Upgrading section
1.28.0 (2021-07-03)
1.27.0 (2021-05-08)
toRelative1.26.0 (2021-02-13)
1.25.0 (2020-08-23)
1.24.1 (2020-05-04)
console.logcall1.24.0 (2020-05-03)
1.23.0 (2020-04-02)
1.22.2 (2020-03-25)
1.22.1 (2020-03-19)
1.22.0 (2020-01-26)
1.21.3 (2019-11-28)
1.21.2 (2019-11-18)
1.21.1 (2019-11-03)
1.21.0 (2019-10-30)
1.20.0 (2019-10-29)
1.19.3
1.19.2
1.19.1
1.19.0
1.18.2
1.18.1
1.18.0
1.17.2
toRelativeusingstyle: shortwith plural days1.17.1
1.17.0
DATETIME_MED_WITH_WEEKDAYpreset1.16.1
1.16.0
1.15.0
formatOffsetto Zones1.14.0
1.13.3
1.13.2
1.13.1
1.13.0
1.12.1
1.12.0
1.11.4
setZone("local")now returns the defaultZone if it is set1.11.3
DateTime.isDateTime()1.11.2
1.11.1
1.11.0
DateTime#toLocal()now uses the default locale1.10.0
DateTime#zoneandInfo.normalizeZone(#404)1.9.0
DateTime#toRelativeandDateTime#toRelativeCalendar1.8.3
fromSQLisDateTimeandisDurationto return booleans in all cases1.8.2
1.8.1
DateTime.fromSecondsandDateTime#toSeconds1.7.1
1.6.2
1.6.0
v2.4.0Compare Source
2022-05-08T20:42:00.000-04:00[America/New_York]extendedZoneoption totoISO()andtoISOTimeDateTime.isInDST()v2.3.2Compare Source
v2.3.1Compare Source
includeOffsetSpaceoption totoSQLandtoSQLTimetoUnixInteger-0when negating durations with zeros in themv2.3.0Compare Source
toISO(),toISODate(),toISOTime(), andtoSQLDate()toISO()v2.2.0Compare Source
fromFormatDuration.shiftTo()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 was generated by Mend Renovate. View the repository job log.