Skip to content

fix: [npm] Upgrade typeorm from 0.2.24 to 0.2.25 to resolve CVE-2020-8158 - #268

Open
hannahhuh-cog wants to merge 2 commits into
mainfrom
devin/1788768455-typeorm-cve-2020-8158
Open

hannahhuh-cog wants to merge 2 commits into
mainfrom
devin/1788768455-typeorm-cve-2020-8158

Conversation

@hannahhuh-cog

@hannahhuh-cog hannahhuh-cog commented Sep 7, 2026

Copy link
Copy Markdown

Summary

Snyk SCA flagged typeorm@0.2.24 with High SNYK-JS-TYPEORM-590152 / CVE-2020-8158 — Prototype Pollution (CWE-1321, CVSS 9.8) in EntityManager/Repository query handling. routes/users.js and typeorm-db.js use the MySQL connection with request-derived input.

Change: package.json "typeorm": "^0.2.24""^0.2.25", lockfile pinned to typeorm@0.2.25 (Snyk's minimum fixed version; deliberately not jumping to 0.2.45/0.3.x to keep this a patch-level change). The lockfile diff is larger than the one-line manifest change because npm relocked typeorm's transitive tree (yargs, mkdirp, chalk, etc.) during the --package-lock-only install.

Snyk reference: SNYK-JS-TYPEORM-590152, severity high, direct dependency.

Devin-Org: engineering

Link to Devin session: https://app.devin.ai/sessions/178f11f2b5e94e8f93f691287e1f1d60
Open in Devin Desktop: https://app.devin.ai/desktop/session/178f11f2b5e94e8f93f691287e1f1d60?variant=devin
Requested by: @hannahhuh-cog


Devin Review

devin-ai-integration Bot and others added 2 commits September 7, 2026 08:07
Co-Authored-By: Hannah Huh <hannah.huh@cognition.ai>
Co-Authored-By: Hannah Huh <hannah.huh@cognition.ai>
@devin-ai-integration

Copy link
Copy Markdown

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 0 potential issues.

Devin Review

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.

1 participant