# Unix-like OS들의 핵심 유틸인 sudo 와 su 가 Rust로 재 작성중

> Clean Markdown view of GeekNews topic #9180. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=9180](https://news.hada.io/topic?id=9180)
- GeekNews Markdown: [https://news.hada.io/topic/9180.md](https://news.hada.io/topic/9180.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2023-05-15T10:59:02+09:00
- Updated: 2023-05-15T10:59:02+09:00
- Original source: [arstechnica.com](https://arstechnica.com/information-technology/2023/05/two-core-unix-like-utilities-sudo-and-su-are-getting-rewrites-in-rust/)
- Points: 8
- Comments: 4

## Topic Body

- 1980년에 개발된 sudo 는 C로 되어있어서 메모리 안전성 부분에서 많은 취약점이 있어 왔음   
- su 는 1971년 나온 Version 1 Unix 부터 포함   
- 비영리 재단인 인터넷 보안 연구 그룹(ISRG)의 Prossimo 프로젝트에서 Rust로 재작성이 진행  
  - 인터넷상의 보안에 민감한 소프트웨어 인프라스트럭처들을 Memory Safe한 코드로 이관하는 것을 목표로 하는 프로젝트  
- AWS가 후원하여 Ferrous Systems 와 Tweede Golf 의 조인트 팀이 작업중

## Comments



### Comment 16082

- Author: kayws426
- Created: 2023-05-15T13:14:24+09:00
- Points: 1

rust로 만든 su, sudo에 대한 해킹시도로 rust가 완전무결이 아니었던 사례가 생길려나요.

### Comment 16094

- Author: cosine20
- Created: 2023-05-16T09:05:58+09:00
- Points: 1
- Parent comment: 16082
- Depth: 1

.............

### Comment 16086

- Author: kunggom
- Created: 2023-05-15T13:39:28+09:00
- Points: 2
- Parent comment: 16082
- Depth: 1

그거야 당연하지 않을까요?  
Rust가 보장하는 것은 메모리 안전성 문제 쪽인데, 지금 발견되는 보안 취약점의 상당수가 메모리 안전성 관련일 뿐이지 모든 보안 취약점이 메모리 안전성과 연관이 있는 것은 아니니까요.

### Comment 16080

- Author: kunggom
- Created: 2023-05-15T12:59:44+09:00
- Points: 1

리포지토리 주소: https://github.com/memorysafety/sudo-rs
