¡¾Îó²îͨ¸æ¡¿Go Darwin ¹¹½¨´úÂëÖ´ÐÐÎó²î(CVE-2025-22867)

Ðû²¼Ê±¼ä 2025-02-07

Ò»¡¢Îó²î¸ÅÊö


Îó²îÃû³Æ

Go Darwin ¹¹½¨´úÂëÖ´ÐÐÎó²î

CVE   ID

CVE-2025-22867

Îó²îÀàÐÍ

´úÂëÖ´ÐÐ

·¢Ã÷ʱ¼ä

2025-02-07

Îó²îÆÀ·Ö

7.5

Îó²îÆ·¼¶

¸ßΣ

¹¥»÷ÏòÁ¿

ÍøÂç

ËùÐèȨÏÞ

ÎÞ

ʹÓÃÄѶÈ

µÍ

Óû§½»»¥

ÎÞ

PoC/EXP

δ¹ûÕæ

ÔÚҰʹÓÃ

δ·¢Ã÷


Go£¨Ò²³ÆΪ Golang£©ÊÇÓÉ Google ¿ª·¢µÄ¿ªÔ´±à³ÌÓïÑÔ £¬Ö¼ÔÚÌṩ¸ßЧ¡¢¾«Á·ºÍÒ×ÓÚ²¢·¢±à³ÌµÄ¹¦Ð§¡£Ëü¾ßÓÐÀ¬»ø½ÓÄÉ¡¢ÄÚ´æÇå¾²ºÍÇ¿Ê¢µÄ²¢·¢Ö§³Ö£¨goroutines£©¡£Go ÓïÑÔÆÕ±éÓ¦ÓÃÓÚ·þÎñÆ÷¶Ë¿ª·¢¡¢ÍøÂç±à³ÌºÍÔÆÅÌËãµÈÁìÓò £¬ÌØÊâÊʺÏÐèÒª¸ßÐÔÄܺͿÉÀ©Õ¹ÐÔµÄÓ¦Óá£


2025Äê2ÔÂ7ÈÕ £¬ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍø¼¯ÍÅVSRC¼à²âµ½GoÓïÑÔ¹Ù·½Ðû²¼Á˹ØÓÚCVE-2025-22867Îó²îµÄͨ¸æ¡£¸ÃÎó²îÓ°ÏìGo 1.24rc2°æ±¾µÄÎó²î £¬±£´æÓÚDarwin£¨macOS£©Æ½Ì¨ÉÏ¡£¸ÃÎó²îÔ´ÓÚGo¹¹½¨Àú³ÌÖÐ £¬CGOÄ£¿éÓëApple°æ±¾µÄld£¨Á´½ÓÆ÷£©ÅäºÏʹÓÃʱ £¬ÀÄÓÃ#cgo LDFLAGSÖ¸ÁîÖеÄ@executable_path¡¢@loader_path»ò@rpathµÈÌØÊâ·¾¶Öµ £¬¿ÉÄܵ¼ÖÂí§Òâ´úÂëÖ´ÐС£¹¥»÷Õß¿Éͨ¹ýÈ«ÐĽṹµÄGoÄ£¿é´¥·¢´ËÎó²î £¬ÔÚ¹¹½¨Àú³ÌÖÐÖ´ÐжñÒâ´úÂë £¬´Ó¶øΣ¼°ÏµÍ³Çå¾²¡£


¶þ¡¢Ó°Ïì¹æÄ£


Go 1.24rc2


Èý¡¢Çå¾²²½·¥


3.1 Éý¼¶°æ±¾


Éý¼¶ÖÁ Go 1.24rc3 »ò¸ü¸ß°æ±¾¡£


ÏÂÔØÁ´½Ó£º

https://github.com/golang/go/tags/


3.2 ÔÝʱ²½·¥


ÔÝÎÞ¡£


3.3 ͨÓý¨Òé


? °´ÆÚ¸üÐÂϵͳ²¹¶¡ £¬ïÔ̭ϵͳÎó²î £¬ÌáÉý·þÎñÆ÷µÄÇå¾²ÐÔ¡£
ÔöǿϵͳºÍÍøÂçµÄ»á¼û¿ØÖÆ £¬Ð޸ķÀ»ðǽսÂÔ £¬¹Ø±Õ·ÇÐëÒªµÄÓ¦Óö˿ڻò·þÎñ £¬ïÔÌ­½«Î£ÏÕ·þÎñ£¨ÈçSSH¡¢RDPµÈ£©Ì»Â¶µ½¹«Íø £¬ïÔÌ­¹¥»÷Ãæ¡£
ʹÓÃÆóÒµ¼¶Çå¾²²úÆ· £¬ÌáÉýÆóÒµµÄÍøÂçÇå¾²ÐÔÄÜ¡£
ÔöǿϵͳÓû§ºÍȨÏÞÖÎÀí £¬ÆôÓöàÒòËØÈÏÖ¤»úÖƺÍ×îСȨÏÞÔ­Ôò £¬Óû§ºÍÈí¼þȨÏÞÓ¦¼á³ÖÔÚ×îµÍÏ޶ȡ£

ÆôÓÃÇ¿ÃÜÂëÕ½ÂÔ²¢ÉèÖÃΪ°´ÆÚÐ޸ġ£


3.4 ²Î¿¼Á´½Ó


https://go.dev/cl/646996
https://nvd.nist.gov/vuln/detail/CVE-2025-22867
https://go.dev/issue/71476
https://pkg.go.dev/vuln/GO-2025-3428
https://groups.google.com/g/golang-dev/c/TYzikTgHK6Y