Skip to content

๐Ÿšจ [security] Update typeorm 0.3.27 โ†’ 1.0.0 (major)#268

Open
depfu[bot] wants to merge 1 commit into
mainfrom
depfu-update-npm-typeorm-1.0.0
Open

๐Ÿšจ [security] Update typeorm 0.3.27 โ†’ 1.0.0 (major)#268
depfu[bot] wants to merge 1 commit into
mainfrom
depfu-update-npm-typeorm-1.0.0

Conversation

@depfu
Copy link
Copy Markdown
Contributor

@depfu depfu Bot commented May 26, 2026


๐Ÿšจ 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 upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

โœณ๏ธ typeorm (0.3.27 โ†’ 1.0.0) ยท Repo ยท Changelog

Release Notes

1.0.0

More info than we can show here.

0.3.30

More info than we can show here.

0.3.29

More info than we can show here.

0.3.28

More info than we can show here.

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

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

โ†—๏ธ dayjs (indirect, 1.11.19 โ†’ 1.11.21) ยท Repo ยท Changelog

Release Notes

1.11.20

More info than we can show here.

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

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

โ†—๏ธ dedent (indirect, 1.7.0 โ†’ 1.7.2) ยท Repo ยท Changelog

Release Notes

1.7.2

More info than we can show here.

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

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

โ†—๏ธ picomatch (indirect, 4.0.3 โ†’ 4.0.4) ยท Repo ยท Changelog

Security Advisories ๐Ÿšจ

๐Ÿšจ Picomatch has a ReDoS vulnerability via extglob quantifiers

Impact

picomatch is vulnerable to Regular Expression Denial of Service (ReDoS) when processing crafted extglob patterns. Certain patterns using extglob quantifiers such as +() and *(), especially when combined with overlapping alternatives or nested extglobs, are compiled into regular expressions that can exhibit catastrophic backtracking on non-matching input.

Examples of problematic patterns include +(a|aa), +(*|?), +(+(a)), *(+(a)), and +(+(+(a))). In local reproduction, these patterns caused multi-second event-loop blocking with relatively short inputs. For example, +(a|aa) compiled to ^(?:(?=.)(?:a|aa)+)$ and took about 2 seconds to reject a 41-character non-matching input, while nested patterns such as +(+(a)) and *(+(a)) took around 29 seconds to reject a 33-character input on a modern M1 MacBook.

Applications are impacted when they allow untrusted users to supply glob patterns that are passed to picomatch for compilation or matching. In those cases, an attacker can cause excessive CPU consumption and block the Node.js event loop, resulting in a denial of service. Applications that only use trusted, developer-controlled glob patterns are much less likely to be exposed in a security-relevant way.

Patches

This issue is fixed in picomatch 4.0.4, 3.0.2 and 2.3.2.

Users should upgrade to one of these versions or later, depending on their supported release line.

Workarounds

If upgrading is not immediately possible, avoid passing untrusted glob patterns to picomatch.

Possible mitigations include:

  • disable extglob support for untrusted patterns by using noextglob: true
  • reject or sanitize patterns containing nested extglobs or extglob quantifiers such as +() and *()
  • enforce strict allowlists for accepted pattern syntax
  • run matching in an isolated worker or separate process with time and resource limits
  • apply application-level request throttling and input validation for any endpoint that accepts glob patterns

Resources

๐Ÿšจ Picomatch: Method Injection in POSIX Character Classes causes incorrect Glob Matching

Impact

picomatch is vulnerable to a method injection vulnerability (CWE-1321) affecting the POSIX_REGEX_SOURCE object. Because the object inherits from Object.prototype, specially crafted POSIX bracket expressions (e.g., [[:constructor:]]) can reference inherited method names. These methods are implicitly converted to strings and injected into the generated regular expression.

This leads to incorrect glob matching behavior (integrity impact), where patterns may match unintended filenames. The issue does not enable remote code execution, but it can cause security-relevant logic errors in applications that rely on glob matching for filtering, validation, or access control.

All users of affected picomatch versions that process untrusted or user-controlled glob patterns are potentially impacted.

Patches

This issue is fixed in picomatch 4.0.4, 3.0.2 and 2.3.2.

Users should upgrade to one of these versions or later, depending on their supported release line.

Workarounds

If upgrading is not immediately possible, avoid passing untrusted glob patterns to picomatch.

Possible mitigations include:

  • Sanitizing or rejecting untrusted glob patterns, especially those containing POSIX character classes like [[:...:]].

  • Avoiding the use of POSIX bracket expressions if user input is involved.

  • Manually patching the library by modifying POSIX_REGEX_SOURCE to use a null prototype:

    const POSIX_REGEX_SOURCE = {
      __proto__: null,
      alnum: 'a-zA-Z0-9',
      alpha: 'a-zA-Z',
      // ... rest unchanged
    };

Resources

Release Notes

4.0.4

More info than we can show here.

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

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

โ†—๏ธ tinyglobby (indirect, 0.2.15 โ†’ 0.2.16) ยท Repo ยท Changelog

Release Notes

0.2.16

More info than we can show here.

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

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

๐Ÿ†• get-east-asian-width (added, 1.6.0)

๐Ÿ†• emoji-regex (added, 10.6.0)

๐Ÿ†• string-width (added, 7.2.0)

๐Ÿ†• wrap-ansi (added, 9.0.2)

๐Ÿ†• cliui (added, 9.0.1)

๐Ÿ†• yargs (added, 18.0.0)

๐Ÿ†• yargs-parser (added, 22.0.0)

๐Ÿ—‘๏ธ app-root-path (removed)

๐Ÿ—‘๏ธ available-typed-arrays (removed)

๐Ÿ—‘๏ธ call-bind (removed)

๐Ÿ—‘๏ธ define-data-property (removed)

๐Ÿ—‘๏ธ for-each (removed)

๐Ÿ—‘๏ธ has-property-descriptors (removed)

๐Ÿ—‘๏ธ is-callable (removed)

๐Ÿ—‘๏ธ is-typed-array (removed)

๐Ÿ—‘๏ธ isarray (removed)

๐Ÿ—‘๏ธ possible-typed-array-names (removed)

๐Ÿ—‘๏ธ set-function-length (removed)

๐Ÿ—‘๏ธ sha.js (removed)

๐Ÿ—‘๏ธ to-buffer (removed)

๐Ÿ—‘๏ธ typed-array-buffer (removed)

๐Ÿ—‘๏ธ which-typed-array (removed)

๐Ÿ—‘๏ธ ansis (removed)

๐Ÿ—‘๏ธ buffer (removed)


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)
Go to the Depfu Dashboard to see the state of your dependencies and to customize how Depfu works.

@depfu depfu Bot added dependencies Only updates dependecies depfu labels May 26, 2026
@depfu depfu Bot assigned Tobi2K May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Only updates dependecies depfu

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant