Bug 2159683
| Summary: | CVE-2022-36313 yarnpkg: file-type: a malformed MKV file could cause the file type detector to get caught in an infinite loop [fedora-all] | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | TEJ RATHI <trathi> |
| Component: | yarnpkg | Assignee: | Zuzana Svetlikova <zsvetlik> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 37 | CC: | epel-packagers-sig, manisandro, ngompa13, zsvetlik |
| Target Milestone: | --- | Keywords: | Security, SecurityTracking |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-01-11 12:34:24 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2159682 | ||
|
Description
TEJ RATHI
2023-01-10 11:41:20 UTC
Use the following template to for the 'fedpkg update' request to submit an update for this issue as it contains the top-level parent bug(s) as well as this tracking bug. This will ensure that all associated bugs get updated when new packages are pushed to stable. ===== # bugfix, security, enhancement, newpackage (required) type=security # low, medium, high, urgent (required) severity=medium # testing, stable request=testing # Bug numbers: 1234,9876 bugs=2159682,2159683 # Description of your update notes=Security fix for [PUT CVEs HERE] # Enable request automation based on the stable/unstable karma thresholds autokarma=True stable_karma=3 unstable_karma=-3 # Automatically close bugs when this marked as stable close_bugs=True # Suggest that users restart after update suggest_reboot=False ====== Additionally, you may opt to use the bodhi web interface to submit updates: https://bodhi.fedoraproject.org/updates/new This is a false positive, file-type is not used by yarn itself, it only appears in the testdata:
$ grep -r file-type
node_modules/node-fetch/README.md:var fileType = require('file-type');
__tests__/fixtures/add/install-should-cleanup-when-package-json-changed-3/yarn.lock.after: file-type "^3.1.0"
__tests__/fixtures/add/install-should-cleanup-when-package-json-changed-3/yarn.lock.after: file-type "^3.1.0"
__tests__/fixtures/add/install-should-cleanup-when-package-json-changed-3/yarn.lock.after:file-type@^3.1.0:
__tests__/fixtures/add/install-should-cleanup-when-package-json-changed-3/yarn.lock.after: resolved "https://registry.npmjs.org/file-type/-/file-type-3.8.0.tgz#bcadf6a8f624ebe4a10e5ad26727b6b93f16d78d"
__tests__/fixtures/add/install-should-cleanup-when-package-json-changed-3/yarn.lock: file-type "^3.1.0"
__tests__/fixtures/add/install-should-cleanup-when-package-json-changed-3/yarn.lock: file-type "^3.1.0"
__tests__/fixtures/add/install-should-cleanup-when-package-json-changed-3/yarn.lock:file-type@^3.1.0:
__tests__/fixtures/add/install-should-cleanup-when-package-json-changed-3/yarn.lock: resolved "https://registry.npmjs.org/file-type/-/file-type-3.8.0.tgz#bcadf6a8f624ebe4a10e5ad26727b6b93f16d78d"
__tests__/fixtures/install/install-should-dedupe-avoiding-conflicts-8/yarn.lock: file-type "^3.1.0"
__tests__/fixtures/install/install-should-dedupe-avoiding-conflicts-8/yarn.lock: file-type "^3.1.0"
__tests__/fixtures/install/install-should-dedupe-avoiding-conflicts-8/yarn.lock:file-type@^3.1.0:
__tests__/fixtures/install/install-should-dedupe-avoiding-conflicts-8/yarn.lock: resolved "https://registry.npmjs.org/file-type/-/file-type-3.8.0.tgz#bcadf6a8f624ebe4a10e5ad26727b6b93f16d78d"
__tests__/fixtures/install/install-should-dedupe-avoiding-conflicts-9/yarn.lock: file-type "^3.1.0"
__tests__/fixtures/install/install-should-dedupe-avoiding-conflicts-9/yarn.lock: file-type "^3.1.0"
__tests__/fixtures/install/install-should-dedupe-avoiding-conflicts-9/yarn.lock:file-type@^3.1.0:
__tests__/fixtures/install/install-should-dedupe-avoiding-conflicts-9/yarn.lock: resolved "https://registry.npmjs.org/file-type/-/file-type-3.8.0.tgz#bcadf6a8f624ebe4a10e5ad26727b6b93f16d78d"
|