Skip to content

[Fix] 보안 취약점 문제 해결 - #60

Merged
ghdtjgus76 merged 6 commits into
mainfrom
fix/security-issue
Jun 19, 2024
Merged

[Fix] 보안 취약점 문제 해결#60
ghdtjgus76 merged 6 commits into
mainfrom
fix/security-issue

Conversation

@ghdtjgus76

@ghdtjgus76 ghdtjgus76 commented Jun 14, 2024

Copy link
Copy Markdown
Collaborator

🎉 변경 사항

보안 취약점 문제 해결했습니다.

  • wow-ui 스토리북 최신 버전으로 변경
  • wow-ui turbo/gen 패키지 삭제
  • braces 패키지 버전 3.0.3으로 변경

🚩 관련 이슈

🙏 여기는 꼭 봐주세요!

image image

GHSA-78xj-cgh5-2h22

위와 같이 보안 문제가 발생해서 알아보니, 설치한 패키지 중 내부적으로 ip 패키지를 사용하는 패키지가 있었습니다.
해당 패키지에서 보안 관련 이슈가 있어 저희 레포에서도 관련해서 Security 이슈로 뜬 것 같구요
현재 ip 패키지 최신 버전에서도 이 문제가 해결되지 않은 걸로 보입니다.

내부적으로 ip를 사용하는 패키지는 storybook, turbo/gen 이렇게 두 가지가 있었습니다.
그래서 좀 찾아보니 아래 PR을 찾을 수 있었습니다.
storybookjs/storybook#27529

스토리북 8.1.6 버전부터는 해당 문제가 해결된 거 같아서 일단 스토리북은 최신 버전으로 업데이트했습니다.
그리고 turbo/gen은 저희가 사용하는 패키지가 아니라서 그냥 삭제했습니다.

braces도 3.0.3 이상 버전으로 업데이트해야 한다고 해서 같이 해뒀습니다.

@SeieunYoo SeieunYoo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

마침 스토리북 최신 버전으로 올렸어야 했는데 짱짱🙌🙌

@hamo-o hamo-o left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

수고하셨어요!!
overrides로 종속성의 종속성을 조정하는 방법만 알고 있었는데,
yarn2+pnpm에서는 같은 역할의 resolutions 필드를 지원하는군요..! 배워갑니당

@ghdtjgus76
ghdtjgus76 merged commit e6e4aab into main Jun 19, 2024
@ghdtjgus76
ghdtjgus76 deleted the fix/security-issue branch June 19, 2024 08:45
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.

3 participants