Skip to content

[Snyk] Fix for 4 vulnerabilities - #112

Open
cdobru wants to merge 1 commit into
mainfrom
snyk-fix-e6df441062ffe46033ad119c239ae730
Open

cdobru wants to merge 1 commit into
mainfrom
snyk-fix-e6df441062ffe46033ad119c239ae730

Conversation

@cdobru

@cdobru cdobru commented Sep 29, 2026

Copy link
Copy Markdown
Owner

snyk-top-banner

Snyk has created this PR to fix 4 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json
  • package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Uncontrolled Recursion
SNYK-JS-BRACEEXPANSION-20244952
  828  
critical severity Directory Traversal
SNYK-JS-DECOMPRESS-20254116
  751  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-BRACEEXPANSION-20244950
  738  
high severity Uncontrolled Recursion
SNYK-JS-BRACEEXPANSION-20244948
  721  

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Uncontrolled Recursion
🦉 Regular Expression Denial of Service (ReDoS)
🦉 Directory Traversal

@cdobru

cdobru commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Merge Risk: High

This upgrade includes a major, high-risk update to typeorm and a significant update to express-fileupload that requires code changes.

Top 3 Upgrades

  • typeorm 0.2.25 → 1.0.0 (High Risk)
    This is a major version upgrade with significant breaking changes that require substantial refactoring. The library has been modernized, and many deprecated APIs have been removed.

    Key Breaking Changes:

    • Node.js Requirement: Support for Node.js versions below 20 has been dropped. [1, 14]
    • API Renames and Removal: Connection and ConnectionOptions have been replaced by DataSource and DataSourceOptions. Global functions like createConnection, getConnection, and getRepository have been removed. [1, 7, 14]
    • Behavioral Changes: Non-nullable relations now use INNER JOIN instead of LEFT JOIN. Passing null or undefined in where conditions now throws an error by default instead of being ignored. [1]
    • Find Options: The syntax for find options like relations has changed from an array of strings to an object. [7]

    Recommendation: Do not merge this upgrade without a dedicated refactoring effort. The TypeORM team provides a codemod tool (npx @typeorm/codemod v1 <path>) to automate many of the required changes. [1]
    Source: Release Notes

  • express-fileupload 0.0.5 → 1.1.10 (High Risk)
    This upgrade crosses major versions from a very early release and includes API changes and important security fixes.

    Key Breaking Changes:

    • md5 Property Behavior: The md5 property on the uploaded file object has changed. Before 1.0.0, it was a checksum string. Between 1.0.0 and 1.1.1, it was a function. From 1.1.1 onwards, it has been reverted to a checksum string. Code relying on this property from the very old 0.0.5 version should continue to work, but awareness of this change is critical. [8]
    • Security Fix: Version 1.1.10 patches a Prototype Pollution vulnerability. [10]
    • Node.js Support: Support for Node.js versions below 6 was dropped in an early version. [5]

    Recommendation: Review any code that uses the .md5 property on uploaded files. The security fix makes this upgrade important.
    Source: NPM Documentation, Snyk Vulnerability DB

  • snyk-filter 1.3.2 → 1.3.4 (Low Risk)
    This is a patch version upgrade. There are no documented breaking changes between these versions. The update likely contains minor bug fixes or non-breaking enhancements.
    Source: Package documentation

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@cdobru

cdobru commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner Author

⛔ Snyk checks have failed. 13 issues have been found so far.

Status Scan Engine Critical High Medium Low Total (13)
⛔ Open Source Security 0 5 8 0 13 issues
✅ Licenses 0 0 0 0 0 issues
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@cdobru

cdobru commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner Author

⛔ Snyk checks have failed. 13 issues have been found so far.

Status Scan Engine Critical High Medium Low Total (13)
⛔ Open Source Security 0 5 8 0 13 issues
✅ Licenses 0 0 0 0 0 issues
✅ Code Security 0 0 0 0 0 issues
✅ Secrets 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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.

2 participants