chore(deps): update dependency snyk to v1.1064.0 [security]
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| snyk | 1.987.0 -> 1.1064.0 |
GitHub Vulnerability Alerts
CVE-2022-40764
Snyk CLI before 1.996.0 allows arbitrary command execution, affecting Snyk IDE plugins and the snyk npm package. Exploitation could follow from the common practice of viewing untrusted files in the Visual Studio Code editor, for example. The original demonstration was with shell metacharacters in the vendor.json ignore field, affecting snyk-go-plugin before 1.19.1. This affects, for example, the Snyk TeamCity plugin (which does not update automatically) before 20220930.142957.
CVE-2022-22984
The package snyk before 1.1064.0; the package snyk-mvn-plugin before 2.31.3; the package snyk-gradle-plugin before 3.24.5; the package @snyk/snyk-cocoapods-plugin before 2.5.3; the package snyk-sbt-plugin before 2.16.2; the package snyk-python-plugin before 1.24.2; the package snyk-docker-plugin before 5.6.5; the package @snyk/snyk-hex-plugin before 1.1.6 are vulnerable to Command Injection due to an incomplete fix for CVE-2022-40764. A successful exploit allows attackers to run arbitrary commands on the host system where the Snyk CLI is installed by passing in crafted command line flags. In order to exploit this vulnerability, a user would have to execute the snyk test command on untrusted files. In most cases, an attacker positioned to control the command line arguments to the Snyk CLI would already be positioned to execute arbitrary commands. However, this could be abused in specific scenarios, such as continuous integration pipelines, where developers can control the arguments passed to the Snyk CLI to leverage this component as part of a wider attack against an integration/build pipeline. This issue has been addressed in the latest Snyk Docker images available at https://hub.docker.com/r/snyk/snyk as of 2022-11-29. Images downloaded and built prior to that date should be updated. The issue has also been addressed in the Snyk TeamCity CI/CD plugin as of version v20221130.093605.
CVE-2022-24441
The package snyk before 1.1064.0 is vulnerable to Code Injection when analyzing a project. An attacker who can convince a user to scan a malicious project can include commands in a build file such as build.gradle or gradle-wrapper.jar, which will be executed with the privileges of the application. This vulnerability may be triggered when running the the CLI tool directly, or when running a scan with one of the IDE plugins that invoke the Snyk CLI. Successful exploitation of this issue would likely require some level of social engineering - to coerce an untrusted project to be downloaded and analyzed via the Snyk CLI or opened in an IDE where a Snyk IDE plugin is installed and enabled. Additionally, if the IDE has a Trust feature then the target folder must be marked as ‘trusted’ in order to be vulnerable.
NOTE: This issue is independent of the one reported in CVE-2022-40764, and upgrading to a fixed version for this addresses that issue as well.
The affected IDE plugins and versions are:
- VS Code - Affected: <=1.8.0, Fixed: 1.9.0
- IntelliJ - Affected: <=2.4.47, Fixed: 2.4.48
- Visual Studio - Affected: <=1.1.30, Fixed: 1.1.31
- Eclipse - Affected: <=v20221115.132308, Fixed: All subsequent versions
- Language Server - Affected: <=v20221109.114426, Fixed: All subsequent versions
Release Notes
snyk/snyk (snyk)
v1.1064.0
Bug Fixes
- escape child process arguments (80d97a9)
v1.1063.0
Features
v1.1062.0
Bug Fixes
- use lenient config in gradle plugin (afc1ccb)
v1.1061.0
Features
- upgrade snyk-iac-test to v0.37.0 (ef864be)
v1.1060.0
Bug Fixes
- update snyk-docker-plugin (cc200eb)
v1.1059.0
Bug Fixes
- bump snyk-gradle-plugin to 3.24.5 (a75faaf)
v1.1058.0
Features
- Upgrade snyk-iac-test to v0.36.5 (71e8ba5)
v1.1057.0
v1.1056.0
Bug Fixes
- improve go file path determination (f426bdb)
v1.1055.0
Bug Fixes
v1.1054.0
Bug Fixes
- update snyk-docker-plugin (a638be2)
v1.1053.0
Bug Fixes
- certificate issue for golang plugin (540b32c)
v1.1052.0
Features
- improve errors for cloud context (0ddc517)
v1.1051.0
Bug Fixes
- apps create command (8544c06)
v1.1050.0
Bug Fixes
- remove allow analytics check for share results (4bac957)
v1.1049.0
Features
- Upgrade snyk-iac-test to v0.36.2 (d37581b)
v1.1048.0
Bug Fixes
- in sbt plugin inspect: filter out configs that are not public (a1df508)
v1.1047.0
v1.1046.0
Bug Fixes
v1.1045.0
Bug Fixes
Features
- disable container app scan with feature flag (39fcaf2)
v1.1044.0
Bug Fixes
- add innerError to CLI analytics as error-details (c6e92d9)
- use body in 403 error innerError if body.stack is empty (2eb1a24)
Features
- Upgrade snyk-iac-test to v0.36.1 (53dfb7a)
v1.1043.0
Bug Fixes
- relax conditions for sbt plugin inspect (a201a61)
v1.1042.0
Bug Fixes
- Errors from snyk-iac-test should not be swallowed (b02372d)
Features
- @snyk/fix: pipenv support for version 2022.* (74d0829)
v1.1041.0
Bug Fixes
- reduce scala script output size (f3ea1ce)
v1.1040.0
Bug Fixes
- Invoke snyk-iac-test asynchronously (1a5e734)
v1.1039.0
Features
- new cloud context flag --snyk-cloud-environment (e5528cf)
- Upgrade snyk-iac-test to v0.35.1 (73da9cb)
v1.1038.0
Features
- add error code to iac json output (4d08086)
v1.1037.0
Bug Fixes
- fixing typo to trigger a failed release (6f49a08)
v1.1036.0
What's Changed
- chore: preserve system proxy in golang cli by @PeterSchafer in https://github.com/snyk/cli/pull/4159
- feat: Upgrade snyk-iac-test to v0.34.1 by @francescomari in https://github.com/snyk/cli/pull/4160
- restore system proxy for describe by @moadibfr in https://github.com/snyk/cli/pull/4158
Full Changelog: https://github.com/snyk/cli/compare/v1.1035.0...v1.1036.0
v1.1035.0
Features
v1.1034.0
Features
- Upgrade snyk-iac-test to v0.33.5 (c318f06)
v1.1033.0
Features
- Upgrade snyk-iac-test to v0.33.4 (ea931d1)
v1.1032.0
Features
- Upgrade snyk-iac-test to v0.33.3 (f0ada01)
v1.1031.0
Bug Fixes
- identify gradle projects by path not name (284c8aa)
v1.1030.0
Features
- use in_progress in unmanaged resp. (84a1bb3)
v1.1029.0
v1.1028.0
v1.1027.0
Features
- Upgrade snyk-iac-test to v0.33.1 (8f49d27)
v1.1026.0
Bug Fixes
- remove reachability from plugins (cdebec7)
v1.1025.0
Features
- update code client (a30958c)
v1.1024.0
v1.1023.0
Bug Fixes
- Ignored issues count displays "undefined" (962df51)
v1.1022.0
Bug Fixes
- do not check stderr output in IaC smoke tests (55cbba0)
Features
- use short link to the Integrated IaC docs (8fd823d)
v1.1021.0
Bug Fixes
- remove gradle matching config error (401c0f0)
Features
- add flag to exclude app vulnerabilities (5d704e2)
- print warning message on app-vulns enablement (9216c49)
v1.1020.0
v1.1019.0
Bug Fixes
- use @snyk/child-process package without shell (2d8845d)
Features
- windows: renew code signing certificate (ff063f1)
v1.1018.0
Features
- add an info message to the new iac test command (533db99)
v1.1017.0
Features
- Update feature gating for new IaC Integrated experience (72bed38)
v1.1016.0
Bug Fixes
- unmanaged scan unknown archives (5821ed4)
v1.1015.0
Features
- refactor and add tests on gradle plugin (239d4ab)
v1.1014.0
Features
- container support for deleted files (cc8edfb)
v1.1013.0
Features
- new version to update url docs link (bd063e3)
v1.1012.0
Features
- pass snykHttpClient to plugin.inspect (17b1273)
v1.1011.0
Bug Fixes
- improve cpp-plugin performance on windows (b5f6770)
v1.1010.0
Bug Fixes
- added check for existing key in loop (04c00bc)
v1.1009.0
v1.1008.0
v1.1007.0
Bug Fixes
- upgrade go-httpauth to support basic auth (875f0e9)
Features
- add unmanaged service test call ff (55b6fbb)
v1.1006.0
Features
- show Cloud Issues URL when sharing results with snyk iac test (9e1f2d7)
v1.1005.0
Bug Fixes
- iac test result undefined (c1e289d)
- update snyk-docker-plugin to fix CGo binaries issue (4db2a46), closes #456
Features
- add support for an HTTP proxy when using snyk-iac-test (3f82971)
v1.1004.0
Features
- share results with the Cloud API (17c7bac)
v1.1003.0
Bug Fixes
- container python app scan performance issues (a8732a6)
Features
- can override IaC experimental bundle (7da75f1)
v1.1002.0
Features
- IaC context-suppressed issue count (bb18d47)
v1.1001.0
Features
- pass the org public ID to snyk-iac-test (e70e43d)
v1.1000.0
Bug Fixes
- container python app scan errors (91ce029)
v1.999.0
Features
v1.998.0
Features
- cloud context for IaC tests (b9c1a10)
- container python app scan (3609d7d)
- create temp filepath for iac engine to write results (12d8e57)
- custom message for IaC cloud context errors (b5833a2)
v1.997.0
Bug Fixes
- For Gradle multi-module projects filter subprojects on unique path not name (db21498)
v1.996.0
Bug Fixes
- bump golang plugin version (8893f81)
Features
- add --var-file support (537372d)
v1.995.0
Bug Fixes
- matching configurations error on gradle version catalog (20dcdae)
v1.994.0
Bug Fixes
- more IaC error codes (e0227c3)
Features
- add custom severities to iac test config (9d86574)
- add ignore count in the experimental version of iac test (d390ca2)
- Added support for depth-detection (8cf1815)
v1.993.0
Features
- add scan flag support (53951fc)
v1.992.0
Bug Fixes
v1.991.0
Features
v1.990.0
Bug Fixes
- none custom policies severity issues should be filtered out before sending them to registry (4acacd2)
v1.989.0
Bug Fixes
- downgrade snyk-go-plugin to 1.19.0 (4643026)
- increase buffer size (8079fe3)
- update golang plugin (a0e30d9)
- upgrade-docker-registry-v2-client (275afb1)
Features
- pass remote-repo-url arg to snyk-iac-test (18e8c87)
v1.988.0
Bug Fixes
- return exit code 3 when no resources can be found (9d2e41f)
- upgrade docker-registry-v2-client lib (374ba55)
Features
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.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
709720d) 88.88% compared to head (dfa038d) 0.00%. Report is 157 commits behind head on master.
:exclamation: Current head dfa038d differs from pull request most recent head 67dd9bd. Consider uploading reports for the commit 67dd9bd to get more accurate results
Additional details and impacted files
@@ Coverage Diff @@
## master #1176 +/- ##
==========================================
- Coverage 88.88% 0 -88.89%
==========================================
Files 1 0 -1
Lines 9 0 -9
Branches 2 0 -2
==========================================
- Hits 8 0 -8
+ Misses 1 0 -1
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.