# Snyk test report

March 24th 2024, 12:17:43 am (UTC+00:00)

Scanned the following paths:

- /argo-cd/argoproj/argo-cd/v2/go.mod (gomodules)
- /argo-cd/ui/yarn.lock (yarn)

12 known vulnerabilities
133 vulnerable dependency paths
1917 dependencies

## Denial of Service (DoS)

high severity

- Manifest file: /argo-cd/argoproj/argo-cd/v2 › go.mod
- Package Manager: golang
- Vulnerable module: google.golang.org/grpc
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 and google.golang.org/grpc@1.56.2

### Detailed paths

- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware@1.4.0 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/health/grpc_health_v1@1.56.2 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/improbable-eng/grpc-web/go/grpcweb@0.15.0 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/health@1.56.2 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/reflection@1.56.2 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/auth@1.4.0 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/retry@1.4.0 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-prometheus@1.2.0 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@1.16.0 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus@1.4.0 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@0.42.0 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/auth@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware@1.4.0 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@1.16.0 › go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/otlpconfig@1.16.0 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@1.16.0 › go.opentelemetry.io/proto/otlp/collector/trace/v1@0.19.0 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/improbable-eng/grpc-web/go/grpcweb@0.15.0 › google.golang.org/grpc/health/grpc_health_v1@1.56.2 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/reflection@1.56.2 › google.golang.org/grpc/reflection/grpc_reflection_v1alpha@1.56.2 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/health@1.56.2 › google.golang.org/grpc/health/grpc_health_v1@1.56.2 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware/tags@1.4.0 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/tags/logrus@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware/tags@1.4.0 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware/tags@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware@1.4.0 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@1.16.0 › go.opentelemetry.io/proto/otlp/collector/trace/v1@0.19.0 › github.com/grpc-ecosystem/grpc-gateway/v2/runtime@2.11.3 › google.golang.org/grpc/health/grpc_health_v1@1.56.2 › google.golang.org/grpc@1.56.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/tags/logrus@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware/tags@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware@1.4.0 › google.golang.org/grpc@1.56.2

## Overview

google.golang.org/grpc is a Go implementation of gRPC

Affected versions of this package are vulnerable to Denial of Service (DoS) in the implementation of the HTTP/2 protocol. An attacker can cause a denial of service (including via DDoS) by rapidly resetting many streams through request cancellation.

## Remediation

Upgrade `google.golang.org/grpc` to version 1.56.3, 1.57.1, 1.58.3 or higher.

## References

- Github Commit
- Github Commit
- GitHub Commit
- GitHub Commit
- GitHub Commit
- GitHub Commit
- GitHub Commit
- GitHub Commit
- GitHub Commit
- GitHub Commit
- Snyk Blog
- Vulnerability Discovery
- Vulnerability Explanation
- CISA - Known Exploited Vulnerabilities

More about this vulnerability

## LGPL-3.0 license

medium severity

- Manifest file: /argo-cd/argoproj/argo-cd/v2 › go.mod
- Package Manager: golang
- Module: gopkg.in/retry.v1
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0, github.com/Azure/kubelogin/pkg/token@0.0.20 and others

### Detailed paths

- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/Azure/kubelogin/pkg/token@0.0.20 › gopkg.in/retry.v1@1.0.3

LGPL-3.0 license

More about this vulnerability

## Infinite loop

medium severity

- Manifest file: /argo-cd/argoproj/argo-cd/v2 › go.mod
- Package Manager: golang
- Vulnerable module: google.golang.org/protobuf/internal/encoding/json
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0, github.com/grpc-ecosystem/grpc-gateway/runtime@1.16.0 and others

### Detailed paths

- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/grpc-gateway/runtime@1.16.0 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0 › google.golang.org/protobuf/internal/encoding/json@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/argoproj/pkg/grpc/http@#d56162821bd1 › github.com/grpc-ecosystem/grpc-gateway/runtime@1.16.0 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0 › google.golang.org/protobuf/internal/encoding/json@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0 › google.golang.org/protobuf/internal/encoding/json@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0 › google.golang.org/protobuf/internal/encoding/json@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/health/grpc_health_v1@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0 › google.golang.org/protobuf/internal/encoding/json@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/auth@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0 › google.golang.org/protobuf/internal/encoding/json@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/retry@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0 › google.golang.org/protobuf/internal/encoding/json@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-prometheus@1.2.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0 › google.golang.org/protobuf/internal/encoding/json@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@1.16.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0 › google.golang.org/protobuf/internal/encoding/json@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0 › google.golang.org/protobuf/internal/encoding/json@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@0.42.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0 › google.golang.org/protobuf/internal/encoding/json@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/improbable-eng/grpc-web/go/grpcweb@0.15.0 › google.golang.org/grpc/health/grpc_health_v1@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0 › google.golang.org/protobuf/internal/encoding/json@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/reflection@1.56.2 › google.golang.org/grpc/reflection/grpc_reflection_v1alpha@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0 › google.golang.org/protobuf/internal/encoding/json@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/health@1.56.2 › google.golang.org/grpc/health/grpc_health_v1@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0 › google.golang.org/protobuf/internal/encoding/json@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/tags/logrus@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware/tags@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0 › google.golang.org/protobuf/internal/encoding/json@1.31.0

## Overview

Affected versions of this package are vulnerable to Infinite loop via the `protojson.Unmarshal` function. An attacker can cause a denial of service condition by unmarshaling certain forms of invalid JSON.

Note:

This condition can occur when unmarshaling into a message which contains a `google.protobuf.Any` value, or when the `UnmarshalOptions.DiscardUnknown` option is set.

## Remediation

Upgrade `google.golang.org/protobuf/internal/encoding/json` to version 1.33.0 or higher.

## References

- GitHub Commit
- GitHub Release
- Vulnerability Advisory

More about this vulnerability

## Stack-based Buffer Overflow

medium severity

- Manifest file: /argo-cd/argoproj/argo-cd/v2 › go.mod
- Package Manager: golang
- Vulnerable module: google.golang.org/protobuf/encoding/protojson
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0, github.com/grpc-ecosystem/grpc-gateway/runtime@1.16.0 and others

### Detailed paths

- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/grpc-gateway/runtime@1.16.0 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/argoproj/pkg/grpc/http@#d56162821bd1 › github.com/grpc-ecosystem/grpc-gateway/runtime@1.16.0 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@1.16.0 › go.opentelemetry.io/proto/otlp/collector/trace/v1@0.19.0 › github.com/grpc-ecosystem/grpc-gateway/v2/runtime@2.11.3 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/health/grpc_health_v1@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/auth@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/retry@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-prometheus@1.2.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@1.16.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@0.42.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@1.16.0 › go.opentelemetry.io/proto/otlp/collector/trace/v1@0.19.0 › github.com/grpc-ecosystem/grpc-gateway/v2/runtime@2.11.3 › google.golang.org/protobuf/types/known/structpb@1.31.0 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/improbable-eng/grpc-web/go/grpcweb@0.15.0 › google.golang.org/grpc/health/grpc_health_v1@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/reflection@1.56.2 › google.golang.org/grpc/reflection/grpc_reflection_v1alpha@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/health@1.56.2 › google.golang.org/grpc/health/grpc_health_v1@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/health/grpc_health_v1@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/auth@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/retry@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-prometheus@1.2.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@1.16.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@0.42.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/improbable-eng/grpc-web/go/grpcweb@0.15.0 › google.golang.org/grpc/health/grpc_health_v1@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/reflection@1.56.2 › google.golang.org/grpc/reflection/grpc_reflection_v1alpha@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/health@1.56.2 › google.golang.org/grpc/health/grpc_health_v1@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/tags/logrus@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware/tags@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/tags/logrus@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware/tags@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0

## Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow when processing input that uses pathologically deep nesting.

## Remediation

Upgrade `google.golang.org/protobuf/encoding/protojson` to version 1.32.0 or higher.

## References

- GitHub Commit
- GitHub Issue

More about this vulnerability

## Infinite loop

medium severity

- Manifest file: /argo-cd/argoproj/argo-cd/v2 › go.mod
- Package Manager: golang
- Vulnerable module: google.golang.org/protobuf/encoding/protojson
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0, github.com/grpc-ecosystem/grpc-gateway/runtime@1.16.0 and others

### Detailed paths

- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/grpc-gateway/runtime@1.16.0 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/argoproj/pkg/grpc/http@#d56162821bd1 › github.com/grpc-ecosystem/grpc-gateway/runtime@1.16.0 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@1.16.0 › go.opentelemetry.io/proto/otlp/collector/trace/v1@0.19.0 › github.com/grpc-ecosystem/grpc-gateway/v2/runtime@2.11.3 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/health/grpc_health_v1@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/auth@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/retry@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-prometheus@1.2.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@1.16.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@0.42.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@1.16.0 › go.opentelemetry.io/proto/otlp/collector/trace/v1@0.19.0 › github.com/grpc-ecosystem/grpc-gateway/v2/runtime@2.11.3 › google.golang.org/protobuf/types/known/structpb@1.31.0 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/improbable-eng/grpc-web/go/grpcweb@0.15.0 › google.golang.org/grpc/health/grpc_health_v1@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/reflection@1.56.2 › google.golang.org/grpc/reflection/grpc_reflection_v1alpha@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/health@1.56.2 › google.golang.org/grpc/health/grpc_health_v1@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/health/grpc_health_v1@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/auth@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/retry@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-prometheus@1.2.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@1.16.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@0.42.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/improbable-eng/grpc-web/go/grpcweb@0.15.0 › google.golang.org/grpc/health/grpc_health_v1@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/reflection@1.56.2 › google.golang.org/grpc/reflection/grpc_reflection_v1alpha@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › google.golang.org/grpc/health@1.56.2 › google.golang.org/grpc/health/grpc_health_v1@1.56.2 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/tags/logrus@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware/tags@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › google.golang.org/protobuf/encoding/protojson@1.31.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/grpc-ecosystem/go-grpc-middleware/tags/logrus@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware/tags@1.4.0 › github.com/grpc-ecosystem/go-grpc-middleware@1.4.0 › google.golang.org/grpc@1.56.2 › google.golang.org/grpc/internal/transport@1.56.2 › google.golang.org/grpc/internal/pretty@1.56.2 › github.com/golang/protobuf/jsonpb@1.4.2 › google.golang.org/protobuf/encoding/protojson@1.31.0

## Overview

Affected versions of this package are vulnerable to Infinite loop via the `protojson.Unmarshal` function. An attacker can cause a denial of service condition by unmarshaling certain forms of invalid JSON.

Note:

This condition can occur when unmarshaling into a message which contains a `google.protobuf.Any` value, or when the `UnmarshalOptions.DiscardUnknown` option is set.

## Remediation

Upgrade `google.golang.org/protobuf/encoding/protojson` to version 1.33.0 or higher.

## References

- GitHub Commit
- GitHub Release
- Vulnerability Advisory

More about this vulnerability

## Authentication Bypass by Capture-replay

medium severity

- Manifest file: /argo-cd/argoproj/argo-cd/v2 › go.mod
- Package Manager: golang
- Vulnerable module: golang.org/x/crypto/ssh
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 and golang.org/x/crypto/ssh@0.16.0

### Detailed paths

- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › golang.org/x/crypto/ssh@0.16.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › golang.org/x/crypto/ssh/knownhosts@0.16.0 › golang.org/x/crypto/ssh@0.16.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/go-git/go-git/v5/plumbing/transport/ssh@5.11.0 › golang.org/x/crypto/ssh@0.16.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/go-git/go-git/v5/plumbing/transport/ssh@5.11.0 › github.com/skeema/knownhosts@1.2.1 › golang.org/x/crypto/ssh@0.16.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/go-git/go-git/v5/plumbing/transport/client@5.11.0 › github.com/go-git/go-git/v5/plumbing/transport/ssh@5.11.0 › golang.org/x/crypto/ssh@0.16.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/go-git/go-git/v5/plumbing/transport/ssh@5.11.0 › github.com/skeema/knownhosts@1.2.1 › golang.org/x/crypto/ssh/knownhosts@0.16.0 › golang.org/x/crypto/ssh@0.16.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/go-git/go-git/v5/plumbing/transport/client@5.11.0 › github.com/go-git/go-git/v5/plumbing/transport/ssh@5.11.0 › github.com/skeema/knownhosts@1.2.1 › golang.org/x/crypto/ssh@0.16.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/go-git/go-git/v5/plumbing/transport/ssh@5.11.0 › github.com/xanzy/ssh-agent@0.3.3 › golang.org/x/crypto/ssh/agent@0.16.0 › golang.org/x/crypto/ssh@0.16.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/go-git/go-git/v5@5.11.0 › github.com/go-git/go-git/v5/plumbing/transport/client@5.11.0 › github.com/go-git/go-git/v5/plumbing/transport/ssh@5.11.0 › golang.org/x/crypto/ssh@0.16.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/go-git/go-git/v5/plumbing/transport/client@5.11.0 › github.com/go-git/go-git/v5/plumbing/transport/ssh@5.11.0 › github.com/skeema/knownhosts@1.2.1 › golang.org/x/crypto/ssh/knownhosts@0.16.0 › golang.org/x/crypto/ssh@0.16.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/go-git/go-git/v5@5.11.0 › github.com/go-git/go-git/v5/plumbing/transport/client@5.11.0 › github.com/go-git/go-git/v5/plumbing/transport/ssh@5.11.0 › github.com/skeema/knownhosts@1.2.1 › golang.org/x/crypto/ssh@0.16.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/go-git/go-git/v5/plumbing/transport/client@5.11.0 › github.com/go-git/go-git/v5/plumbing/transport/ssh@5.11.0 › github.com/xanzy/ssh-agent@0.3.3 › golang.org/x/crypto/ssh/agent@0.16.0 › golang.org/x/crypto/ssh@0.16.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/go-git/go-git/v5@5.11.0 › github.com/go-git/go-git/v5/plumbing/transport/client@5.11.0 › github.com/go-git/go-git/v5/plumbing/transport/ssh@5.11.0 › github.com/skeema/knownhosts@1.2.1 › golang.org/x/crypto/ssh/knownhosts@0.16.0 › golang.org/x/crypto/ssh@0.16.0
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/go-git/go-git/v5@5.11.0 › github.com/go-git/go-git/v5/plumbing/transport/client@5.11.0 › github.com/go-git/go-git/v5/plumbing/transport/ssh@5.11.0 › github.com/xanzy/ssh-agent@0.3.3 › golang.org/x/crypto/ssh/agent@0.16.0 › golang.org/x/crypto/ssh@0.16.0

## Overview

golang.org/x/crypto/ssh is a SSH client and server

Affected versions of this package are vulnerable to Authentication Bypass by Capture-replay during the establishment of the secure channel. An attacker can manipulate handshake sequence numbers to delete messages sent immediately after the channel is established.

Note:

1. Sequence numbers are only validated once the channel is established and arbitrary messages are allowed during the handshake, allowing them to manipulate the sequence numbers.

2. The potential consequences of the general Terrapin attack are dependent on the messages exchanged after the handshake concludes. If you are using a custom SSH service and do not resort to the authentication protocol, you should check that dropping the first few messages of a connection does not yield security risks.

Impact:

While cryptographically novel, there is no discernable impact on the integrity of SSH traffic beyond giving the attacker the ability to delete the message that enables some features related to keystroke timing obfuscation. To successfully carry out the exploitation, the connection needs to be protected using either the `ChaCha20-Poly1305` or `CBC` with `Encrypt-then-MAC` encryption methods. The attacker must also be able to intercept and modify the connection's traffic.

## Workaround

Temporarily disable the affected `chacha20-poly1305@openssh.com` encryption and `*-etm@openssh.com` MAC algorithms in the affected configuration, and use unaffected algorithms like `AES-GCM` instead.

## Remediation

Upgrade `golang.org/x/crypto/ssh` to version 0.17.0 or higher.

## References

- Attack Information
- GitHub Commit
- GitHub Commit
- GitHub Commit
- GitHub Commit
- GitHub Commit
- GitHub Commit
- GitHub Commit
- GitHub Commit
- GitHub Commit
- GitHub Issue
- GitHub Issue
- Go Forum
- Google Groups Forum
- Security Release

More about this vulnerability

## MPL-2.0 license

medium severity

- Manifest file: /argo-cd/argoproj/argo-cd/v2 › go.mod
- Package Manager: golang
- Module: github.com/r3labs/diff
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 and github.com/r3labs/diff@1.1.0

### Detailed paths

- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/r3labs/diff@1.1.0

MPL-2.0 license

More about this vulnerability

## MPL-2.0 license

medium severity

- Manifest file: /argo-cd/argoproj/argo-cd/v2 › go.mod
- Package Manager: golang
- Module: github.com/hashicorp/go-version
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0, code.gitea.io/sdk/gitea@0.15.1 and others

### Detailed paths

- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › code.gitea.io/sdk/gitea@0.15.1 › github.com/hashicorp/go-version@1.2.1

MPL-2.0 license

More about this vulnerability

## MPL-2.0 license

medium severity

- Manifest file: /argo-cd/argoproj/argo-cd/v2 › go.mod
- Package Manager: golang
- Module: github.com/hashicorp/go-retryablehttp
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 and github.com/hashicorp/go-retryablehttp@0.7.4

### Detailed paths

- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/hashicorp/go-retryablehttp@0.7.4
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/xanzy/go-gitlab@0.91.1 › github.com/hashicorp/go-retryablehttp@0.7.4
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/argoproj/notifications-engine/pkg/services@#9dcecdc3eebf › github.com/opsgenie/opsgenie-go-sdk-v2/client@1.0.5 › github.com/hashicorp/go-retryablehttp@0.7.4
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/argoproj/notifications-engine/pkg/subscriptions@#9dcecdc3eebf › github.com/argoproj/notifications-engine/pkg/services@#9dcecdc3eebf › github.com/opsgenie/opsgenie-go-sdk-v2/client@1.0.5 › github.com/hashicorp/go-retryablehttp@0.7.4
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/argoproj/notifications-engine/pkg/cmd@#9dcecdc3eebf › github.com/argoproj/notifications-engine/pkg/services@#9dcecdc3eebf › github.com/opsgenie/opsgenie-go-sdk-v2/client@1.0.5 › github.com/hashicorp/go-retryablehttp@0.7.4
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/argoproj/notifications-engine/pkg/api@#9dcecdc3eebf › github.com/argoproj/notifications-engine/pkg/subscriptions@#9dcecdc3eebf › github.com/argoproj/notifications-engine/pkg/services@#9dcecdc3eebf › github.com/opsgenie/opsgenie-go-sdk-v2/client@1.0.5 › github.com/hashicorp/go-retryablehttp@0.7.4
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/argoproj/notifications-engine/pkg/controller@#9dcecdc3eebf › github.com/argoproj/notifications-engine/pkg/subscriptions@#9dcecdc3eebf › github.com/argoproj/notifications-engine/pkg/services@#9dcecdc3eebf › github.com/opsgenie/opsgenie-go-sdk-v2/client@1.0.5 › github.com/hashicorp/go-retryablehttp@0.7.4

MPL-2.0 license

More about this vulnerability

## MPL-2.0 license

medium severity

- Manifest file: /argo-cd/argoproj/argo-cd/v2 › go.mod
- Package Manager: golang
- Module: github.com/hashicorp/go-cleanhttp
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0, github.com/hashicorp/go-retryablehttp@0.7.4 and others

### Detailed paths

- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/hashicorp/go-retryablehttp@0.7.4 › github.com/hashicorp/go-cleanhttp@0.5.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/xanzy/go-gitlab@0.91.1 › github.com/hashicorp/go-cleanhttp@0.5.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/xanzy/go-gitlab@0.91.1 › github.com/hashicorp/go-retryablehttp@0.7.4 › github.com/hashicorp/go-cleanhttp@0.5.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/argoproj/notifications-engine/pkg/services@#9dcecdc3eebf › github.com/opsgenie/opsgenie-go-sdk-v2/client@1.0.5 › github.com/hashicorp/go-retryablehttp@0.7.4 › github.com/hashicorp/go-cleanhttp@0.5.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/argoproj/notifications-engine/pkg/subscriptions@#9dcecdc3eebf › github.com/argoproj/notifications-engine/pkg/services@#9dcecdc3eebf › github.com/opsgenie/opsgenie-go-sdk-v2/client@1.0.5 › github.com/hashicorp/go-retryablehttp@0.7.4 › github.com/hashicorp/go-cleanhttp@0.5.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/argoproj/notifications-engine/pkg/cmd@#9dcecdc3eebf › github.com/argoproj/notifications-engine/pkg/services@#9dcecdc3eebf › github.com/opsgenie/opsgenie-go-sdk-v2/client@1.0.5 › github.com/hashicorp/go-retryablehttp@0.7.4 › github.com/hashicorp/go-cleanhttp@0.5.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/argoproj/notifications-engine/pkg/api@#9dcecdc3eebf › github.com/argoproj/notifications-engine/pkg/subscriptions@#9dcecdc3eebf › github.com/argoproj/notifications-engine/pkg/services@#9dcecdc3eebf › github.com/opsgenie/opsgenie-go-sdk-v2/client@1.0.5 › github.com/hashicorp/go-retryablehttp@0.7.4 › github.com/hashicorp/go-cleanhttp@0.5.2
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/argoproj/notifications-engine/pkg/controller@#9dcecdc3eebf › github.com/argoproj/notifications-engine/pkg/subscriptions@#9dcecdc3eebf › github.com/argoproj/notifications-engine/pkg/services@#9dcecdc3eebf › github.com/opsgenie/opsgenie-go-sdk-v2/client@1.0.5 › github.com/hashicorp/go-retryablehttp@0.7.4 › github.com/hashicorp/go-cleanhttp@0.5.2

MPL-2.0 license

More about this vulnerability

## MPL-2.0 license

medium severity

- Manifest file: /argo-cd/argoproj/argo-cd/v2 › go.mod
- Package Manager: golang
- Module: github.com/gosimple/slug
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 and github.com/gosimple/slug@1.13.1

### Detailed paths

- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/gosimple/slug@1.13.1

MPL-2.0 license

More about this vulnerability

## Improper Handling of Highly Compressed Data (Data Amplification)

medium severity

- Manifest file: /argo-cd/argoproj/argo-cd/v2 › go.mod
- Package Manager: golang
- Vulnerable module: github.com/go-jose/go-jose/v3
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 and github.com/go-jose/go-jose/v3@3.0.1

### Detailed paths

- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/go-jose/go-jose/v3@3.0.1
- Introduced through: github.com/argoproj/argo-cd/v2@0.0.0 › github.com/coreos/go-oidc/v3/oidc@3.6.0 › github.com/go-jose/go-jose/v3@3.0.1

## Overview

Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification). An attacker could send a JWE containing compressed data that, when decompressed by `Decrypt` or `DecryptMulti`, would use large amounts of memory and CPU.

## Remediation

Upgrade `github.com/go-jose/go-jose/v3` to version 3.0.3 or higher.

## References

- GitHub Commit
- GitHub Commit
- GitHub Commit

More about this vulnerability