[1.3][CVE-2022-33987] Partially fix security issues for got by bumping @elastic/makelogs from 6.0.0 to 6.1.1 and update yarn.lock #5006
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
With the
SemVer
philosophy, when releasing a patch version, it should not introduce breaking changes, which includes bumping a dependency to its major version.got
is a not a direct dependency for OSD. Meanwhile, it is not included in release artifact. Therefore, bumping major versions should not breakSemVer
rules.Description
This CVE requires to update
got
to11.8.5
or12.1.0
.got
is used in multiple versions:3.3.1
5.6.0
6.7.1
7.1.0
8.3.2
9.6.0
11.8.2
This PR only fixed the two acceptable changes. Other versions are not fixable in 1.3.
got@6.7.1
Hoisted from dependencies "project#latest-version#package-json#got" and "project#@osd#ui-framework#yeoman-generator#github-username#gh-got#got"
got@5.6.0
This exists because "project#geckodriver" depends on it.
got@11.8.2
This exists because "project#ms-chromium-edge-driver" depends on it.
got@8.3.2
Hoisted from dependency "project#@osd#ui-framework#yo#package-json#got".
got@7.1.0
This exists because "project#@osd#ui-framework#yo#npm-keyword" depends on it.
got@3.3.1
Hoisted from dependency "project#@elastic#makelogs#update-notifier#latest-version#package-json#got".
got@9.6.0
Hoisted from dependency "project#@elastic#safer-lodash-set#tsd#update-notifier#latest-version#package-json#got".
Issues Resolved
CVE-2022-33987
#1764
Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr