Use of Unmaintained Third Party Components
The product relies on third-party components that are no longer being maintained by the original developer or by the open source community.
Without ongoing maintenance, newly discovered vulnerabilities in these components will not be patched. This creates an increasing risk as time passes and vulnerabilities are discovered.
이 취약점을 수정하는 방법
5개의 Shoulder 탐지 규칙을 기반으로 한 Use of Unmaintained Third Party 예방 전략.
Pin base images to specific version tags or SHA digests for reproducible builds
- FROM node:latest - WORKDIR /app - COPY . . - RUN npm install + FROM node:24-alpine + WORKDIR /app + COPY package*.json ./ + RUN npm ci + COPY . .
Use npm ci instead of npm install for deterministic, reproducible Docker builds
FROM node:24-alpine WORKDIR /app COPY package*.json ./ - RUN npm install + RUN npm ci --omit=dev COPY . .
Update FROM to a supported Node.js LTS version (24-alpine or 22-alpine)
- FROM node:16-alpine + FROM node:24-alpine WORKDIR /app COPY . . RUN npm ci
Update .nvmrc to a supported Node.js LTS version (22 or 20)
- 16 + 22
Align Node.js versions across .nvmrc, Dockerfile, and package.json to the same LTS version
- # .nvmrc says 18, Dockerfile says 22 - # .nvmrc - 18 - # Dockerfile - FROM node:22-alpine + # .nvmrc + 22 + # Dockerfile + FROM node:22-alpine + # package.json engines + { "engines": { "node": ">=22.0.0" } }
코드에서 취약점 찾기
Shoulder를 사용하여 코드에서 Use of Unmaintained Third Party Components 패턴을 스캔하세요. 5 규칙.
# Scan with Shoulder CLI npx @shoulderdev/cli trust --cwe=1104 # Or scan entire project npx @shoulderdev/cli trust .
탐지 규칙 (5)
코드 리뷰에서 주의할 점
이 패턴은 잠재적인 Use of Unmaintained Third Party Components 취약점을 나타냅니다. 코드 리뷰와 보안 감사 중에 찾아보세요.
코드베이스를 스캔하세요: Use of Unmaintained Third Party Components
Shoulder CLI는 전체 코드베이스에서 취약한 패턴을 찾아냅니다.