Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

riseshia
Copy link
Member

@riseshia riseshia commented May 2, 2025

๐Ÿ”— #3461

Translate #3560
Actual diff is 92549b2

@riseshia riseshia changed the title tr cve 2025 43857 ko Translate "CVE-2025-43857: DoS vulnerability in net-imap" (ko) May 2, 2025
@riseshia riseshia mentioned this pull request May 2, 2025
27 tasks
@riseshia riseshia marked this pull request as ready for review May 2, 2025 01:58
@riseshia riseshia requested a review from a team as a code owner May 2, 2025 01:58
Copy link
Member

@marocchino marocchino left a comment

Choose a reason for hiding this comment

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

LGTM

@riseshia riseshia merged commit cd27ccd into ruby:master May 2, 2025
1 check passed
@riseshia riseshia deleted the tr-cve-2025-43857-ko branch May 2, 2025 03:58
lang: ko
---

net-imap gem์—์„œ DoS ์ทจ์•ฝ์ ์ด ๋ฐœ๊ฒฌ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ด ์ทจ์•ฝ์ ์€ CVE ๋ฒˆํ˜ธ [CVE-2025-43857](https://www.cve.org/CVERecord?id=CVE-2025-43857)์œผ๋กœ ๋“ฑ๋ก๋˜์—ˆ์Šต๋‹ˆ๋‹ค. net-imap gem์„ ์—…๊ทธ๋ ˆ์ด๋“œํ•˜๊ธฐ๋ฅผ ์ถ”์ฒœํ•ฉ๋‹ˆ๋‹ค.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
net-imap gem์—์„œ DoS ์ทจ์•ฝ์ ์ด ๋ฐœ๊ฒฌ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ด ์ทจ์•ฝ์ ์€ CVE ๋ฒˆํ˜ธ [CVE-2025-43857](https://www.cve.org/CVERecord?id=CVE-2025-43857)์œผ๋กœ ๋“ฑ๋ก๋˜์—ˆ์Šต๋‹ˆ๋‹ค. net-imap gem์„ ์—…๊ทธ๋ ˆ์ด๋“œํ•˜๊ธฐ๋ฅผ ์ถ”์ฒœํ•ฉ๋‹ˆ๋‹ค.
net-imap gem์—์„œ DoS ์ทจ์•ฝ์ ์ด ๋ฐœ๊ฒฌ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ด ์ทจ์•ฝ์ ์€ CVE ๋ฒˆํ˜ธ [CVE-2025-43857](https://www.cve.org/CVERecord?id=CVE-2025-43857)๋กœ ๋“ฑ๋ก๋˜์—ˆ์Šต๋‹ˆ๋‹ค. net-imap gem์„ ์—…๊ทธ๋ ˆ์ด๋“œํ•˜๊ธฐ๋ฅผ ์ถ”์ฒœํ•ฉ๋‹ˆ๋‹ค.


## ์„ธ๋ถ€ ๋‚ด์šฉ

์•…์˜์ ์ธ ์„œ๋ฒ„๊ฐ€ "๋ฌธ์ž ๊ทธ๋Œ€๋กœ" ๋ฐ”์ดํŠธ ์ˆ˜๋ฅผ ๋ณด๋‚ผ ์ˆ˜ ์žˆ์œผ๋ฉฐ, ํด๋ผ์ด์–ธํŠธ์˜ ์ˆ˜์‹  ์Šค๋ ˆ๋“œ๋Š” ์ด ๋ฐ์ดํ„ฐ๋ฅผ ์ž๋™์œผ๋กœ ์ฝ์Šต๋‹ˆ๋‹ค. ์‘๋‹ต ๋ฆฌ๋”๋Š” ์„œ๋ฒ„ ์‘๋‹ต์— ์˜ํ•ด ํ‘œ์‹œ๋œ ๋ฐ”์ดํŠธ ์ˆ˜์— ๋Œ€ํ•œ ๋ฉ”๋ชจ๋ฆฌ๋ฅผ ์ฆ‰์‹œ ํ• ๋‹นํ•ฉ๋‹ˆ๋‹ค. ์‹ ๋ขฐํ•  ์ˆ˜ ์žˆ๋Š” IMAP ์„œ๋ฒ„์— ์•ˆ์ „ํ•˜๊ฒŒ ์—ฐ๊ฒฐํ•  ๋•Œ๋Š” ๋ฌธ์ œ๊ฐ€ ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๊ทธ๋Ÿฌ๋‚˜ ๋ณด์•ˆ ์—ฐ๊ฒฐ์„ ์‚ฌ์šฉํ•˜์ง€ ์•Š๊ฑฐ๋‚˜ ๋ฒ„๊ทธ๊ฐ€ ์žˆ๊ฑฐ๋‚˜ ์‹ ๋ขฐํ•  ์ˆ˜ ์—†๋Š” ์„œ๋ฒ„(์˜ˆ: ์‚ฌ์šฉ์ž ์ œ๊ณต ํ˜ธ์ŠคํŠธ ์ด๋ฆ„์— ์—ฐ๊ฒฐํ•˜๋Š” ๊ฒฝ์šฐ)์—์„œ๋Š” ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
์•…์˜์ ์ธ ์„œ๋ฒ„๊ฐ€ "๋ฌธ์ž ๊ทธ๋Œ€๋กœ" ๋ฐ”์ดํŠธ ์ˆ˜๋ฅผ ๋ณด๋‚ผ ์ˆ˜ ์žˆ์œผ๋ฉฐ, ํด๋ผ์ด์–ธํŠธ์˜ ์ˆ˜์‹  ์Šค๋ ˆ๋“œ๋Š” ์ด ๋ฐ์ดํ„ฐ๋ฅผ ์ž๋™์œผ๋กœ ์ฝ์Šต๋‹ˆ๋‹ค. ์‘๋‹ต ๋ฆฌ๋”๋Š” ์„œ๋ฒ„ ์‘๋‹ต์— ์˜ํ•ด ํ‘œ์‹œ๋œ ๋ฐ”์ดํŠธ ์ˆ˜์— ๋Œ€ํ•œ ๋ฉ”๋ชจ๋ฆฌ๋ฅผ ์ฆ‰์‹œ ํ• ๋‹นํ•ฉ๋‹ˆ๋‹ค. ์‹ ๋ขฐํ•  ์ˆ˜ ์žˆ๋Š” IMAP ์„œ๋ฒ„์— ์•ˆ์ „ํ•˜๊ฒŒ ์—ฐ๊ฒฐํ•  ๋•Œ๋Š” ๋ฌธ์ œ๊ฐ€ ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๊ทธ๋Ÿฌ๋‚˜ ๋ณด์•ˆ ์—ฐ๊ฒฐ์„ ์‚ฌ์šฉํ•˜์ง€ ์•Š๊ฑฐ๋‚˜ ๋ฒ„๊ทธ๊ฐ€ ์žˆ๊ฑฐ๋‚˜ ์‹ ๋ขฐํ•  ์ˆ˜ ์—†๋Š” ์„œ๋ฒ„(์˜ˆ: ์‚ฌ์šฉ์ž ์ œ๊ณต ํ˜ธ์ŠคํŠธ ์ด๋ฆ„์— ์—ฐ๊ฒฐํ•˜๋Š” ๊ฒฝ์šฐ)์—์„œ๋Š” ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
์•…์˜์ ์ธ ์„œ๋ฒ„๊ฐ€ "๋ฌธ์ž ๊ทธ๋Œ€๋กœ" ๋ฐ”์ดํŠธ ์ˆ˜๋ฅผ ๋ณด๋‚ผ ์ˆ˜ ์žˆ์œผ๋ฉฐ, ํด๋ผ์ด์–ธํŠธ์˜ ์ˆ˜์‹  ์Šค๋ ˆ๋“œ๋Š” ์ด ๋ฐ์ดํ„ฐ๋ฅผ ์ž๋™์œผ๋กœ ์ฝ์Šต๋‹ˆ๋‹ค. ์‘๋‹ต ๋ฆฌ๋”๋Š” ์„œ๋ฒ„ ์‘๋‹ต์— ์˜ํ•ด ํ‘œ์‹œ๋œ ๋ฐ”์ดํŠธ ์ˆ˜์— ๋Œ€ํ•œ ๋ฉ”๋ชจ๋ฆฌ๋ฅผ ์ฆ‰์‹œ ํ• ๋‹นํ•ฉ๋‹ˆ๋‹ค. ์‹ ๋ขฐํ•  ์ˆ˜ ์žˆ๋Š” IMAP ์„œ๋ฒ„์— ์•ˆ์ „ํ•˜๊ฒŒ ์—ฐ๊ฒฐํ•  ๋•Œ๋Š” ๋ฌธ์ œ๊ฐ€ ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๊ทธ๋Ÿฌ๋‚˜ ๋ณด์•ˆ ์—ฐ๊ฒฐ์„ ์‚ฌ์šฉํ•˜์ง€ ์•Š๊ฑฐ๋‚˜, ๋ฒ„๊ทธ๊ฐ€ ์žˆ๊ฑฐ๋‚˜, ์‹ ๋ขฐํ•  ์ˆ˜ ์—†๊ฑฐ๋‚˜, ์˜ค์—ผ๋œ ์„œ๋ฒ„(์˜ˆ: ์‚ฌ์šฉ์ž๊ฐ€ ์ œ๊ณตํ•œ ํ˜ธ์ŠคํŠธ ์ด๋ฆ„์— ์—ฐ๊ฒฐํ•˜๋Š” ๊ฒฝ์šฐ)์—์„œ๋Š” ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.


net-imap gem 0.2.5, 0.3.9, 0.4.20, 0.5.7 ์ด์ƒ์œผ๋กœ ์—…๋ฐ์ดํŠธํ•˜์„ธ์š”.

์‹ ๋ขฐํ•  ์ˆ˜ ์—†๋Š” ์„œ๋ฒ„์— ์—ฐ๊ฒฐํ•˜๊ฑฐ๋‚˜ ๋ณด์•ˆ ์—ฐ๊ฒฐ์„ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋‹ค๋ฉด, `max_response_size`์™€ ์‘๋‹ต ํ•ธ๋“ค๋Ÿฌ๋ฅผ ์ ์ ˆํžˆ ์„ค์ •ํ•˜์—ฌ ๋ฉ”๋ชจ๋ฆฌ ์†Œ๋น„๋ฅผ ์ œํ•œํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ [GHSA-j3g3-5qv5-52mj]๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
์‹ ๋ขฐํ•  ์ˆ˜ ์—†๋Š” ์„œ๋ฒ„์— ์—ฐ๊ฒฐํ•˜๊ฑฐ๋‚˜ ๋ณด์•ˆ ์—ฐ๊ฒฐ์„ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋‹ค๋ฉด, `max_response_size`์™€ ์‘๋‹ต ํ•ธ๋“ค๋Ÿฌ๋ฅผ ์ ์ ˆํžˆ ์„ค์ •ํ•˜์—ฌ ๋ฉ”๋ชจ๋ฆฌ ์†Œ๋น„๋ฅผ ์ œํ•œํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ [GHSA-j3g3-5qv5-52mj]๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.
์‹ ๋ขฐํ•  ์ˆ˜ ์—†๋Š” ์„œ๋ฒ„์— ์—ฐ๊ฒฐํ•˜๊ฑฐ๋‚˜ ๋ณด์•ˆ ์—ฐ๊ฒฐ์„ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์ง€ ์•Š๋‹ค๋ฉด, `max_response_size`์™€ ์‘๋‹ต ํ•ธ๋“ค๋Ÿฌ๋ฅผ ์ ์ ˆํžˆ ์„ค์ •ํ•˜์—ฌ ๋ฉ”๋ชจ๋ฆฌ ์†Œ๋น„๋ฅผ ์ œํ•œํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ [GHSA-j3g3-5qv5-52mj]๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

Copy link
Member Author

Choose a reason for hiding this comment

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

๐Ÿ™ˆ


## ํ•ด๋‹น ๋ฒ„์ „

net-imap gem 0.2.4 ์ดํ•˜, 0.3.0๋ถ€ํ„ฐ 0.3.8๊นŒ์ง€, 0.4.0๋ถ€ํ„ฐ 0.4.19๊นŒ์ง€, ๋˜๋Š” 0.5.0๋ถ€ํ„ฐ 0.5.6๊นŒ์ง€
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
net-imap gem 0.2.4 ์ดํ•˜, 0.3.0๋ถ€ํ„ฐ 0.3.8๊นŒ์ง€, 0.4.0๋ถ€ํ„ฐ 0.4.19๊นŒ์ง€, ๋˜๋Š” 0.5.0๋ถ€ํ„ฐ 0.5.6๊นŒ์ง€
net-imap gem 0.2.4 ์ดํ•˜, 0.3.0๋ถ€ํ„ฐ 0.3.8๊นŒ์ง€, 0.4.0๋ถ€ํ„ฐ 0.4.19๊นŒ์ง€, 0.5.0๋ถ€ํ„ฐ 0.5.6๊นŒ์ง€

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