Skip to content

Low/Medium: ADD JSON 배열 문법에서 remote source 차단이 우회됨 #35

Description

@HeaInSeo

DockerfileParser.cs(88줄)가 COPY/ADD 인자를 공백으로만 split해서, ADD ["https://example.com/tool.tar.gz", "/tmp/tool.tar.gz"]처럼 콤마 뒤 공백이 있는(흔한) JSON 배열 포맷에서 첫 토큰이 "["https://..." 형태가 되어 DockerfileStructureValidator.IsRemoteSource(202줄)의 StartsWith("https://") 체크를 피한다.

외부 코드 리뷰에서 지적됨.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions