kcve.ai취약점 정보 · 내 서버 확인

CVE-2022-42889 Apache Commons Text prior to 1.10.0 allows RCE when applied to untrusted input due to insecure interpolation defaults

1.10.0 이전의 아파치 공용 텍스트는 안전하지 않은 보간 기본값으로 인해 신뢰할 수 없는 입력에 RCE를 적용한다. 기계 번역

설명

아파치 공용 텍스트는 변수 보간을 수행하여 속성을 동적으로 평가하고 확장할 수 있다. 보간 표준 형식은 "${prefix:name}"이며, "prefix"는 보간을 수행하는 org.apache.commons.text.lookup.StringLookup의 인스턴스를 찾는 데 사용됩니다. 버전 1.5부터 시작해서 1.9까지 계속된 기본 룩업 인스턴스 세트에는 임의 코드 실행 또는 원격 서버와의 연결을 초래할 수 있는 인터폴레이터가 포함되어 있었다. 이러한 조회는 다음과 같습니다. - "script" - JVM 스크립트 실행 엔진(javax.script) - "dns" - resolve dns records - "url" - 영향을 받는 버전에서 보간 기본값을 사용하는 응용 프로그램은 신뢰할 수 없는 구성 값이 사용되는 경우 원격 코드 실행 또는 원격 서버와의 의도하지 않은 접촉에 취약할 수 있습니다. 사용자는 아파치 공용 텍스트 1.10.0으로 업그레이드하는 것이 좋으며, 이 경우 기본적으로 문제 인터폴레이터를 비활성화한다.

기계 번역

원문 보기

Apache Commons Text performs variable interpolation, allowing properties to be dynamically evaluated and expanded. The standard format for interpolation is "${prefix:name}", where "prefix" is used to locate an instance of org.apache.commons.text.lookup.StringLookup that performs the interpolation. Starting with version 1.5 and continuing through 1.9, the set of default Lookup instances included interpolators that could result in arbitrary code execution or contact with remote servers. These lookups are: - "script" - execute expressions using the JVM script execution engine (javax.script) - "dns" - resolve dns records - "url" - load values from urls, including from remote servers Applications using the interpolation defaults in the affected versions may be vulnerable to remote code execution or unintentional contact with remote servers if untrusted configuration values are used. Users are recommended to upgrade to Apache Commons Text 1.10.0, which disables the problematic interpolators by default.

영향 받는 제품 제품 1개

  • Apache Software Foundation

    Apache Commons Text

    영향 받는 버전

    • 1.9 이하
    • 1.5 이상

    해결 버전

    해결된 버전 정보가 없습니다.

참고 자료 4건

‹ 목록

운영 중인 서버의 점검 지원 범위가 궁금하면

도입 문의