Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update vulnerable dependencies [SECURITY] #1723

Merged
merged 2 commits into from
Dec 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aws-py-django-voting-app/frontend/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
django==3.1
django==4.2.16
mysqlclient==1.4.0
10 changes: 5 additions & 5 deletions aws-py-oidc-provider-pulumi-cloud/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
pulumi>=3.0.0,<4.0.0
pulumi-aws>=6.0.2,<7.0.0
certifi==2023.7.22
certifi==2024.7.4
cffi==1.15.1
charset-normalizer==3.3.0
cryptography==41.0.6
idna==3.4
cryptography==43.0.1
idna==3.7
pycparser==2.21
pyOpenSSL==23.2.0
requests==2.31.0
requests==2.32.2
pulumi-tls>=5.0.0,<6.0.0
urllib3==1.26.18
urllib3==1.26.19
PyYAML
2 changes: 1 addition & 1 deletion aws-ts-apigateway-auth0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@pulumi/pulumi": "3.142.0",
"@types/auth0-js": "^9.10.1",
"@types/jsonwebtoken": "^8.3.2",
"jsonwebtoken": "^8.5.1",
"jsonwebtoken": "8.5.1",
"jwks-rsa": "^1.4.0",
"typescript": "^4.6.0"
}
Expand Down
4 changes: 2 additions & 2 deletions aws-ts-nextjs/demoapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"autoprefixer": "10.4.14",
"eslint": "8.46.0",
"eslint-config-next": "13.4.12",
"next": "13.4.12",
"postcss": "8.4.27",
"next": "14.2.7",
"postcss": "8.4.31",
"react": "18.2.0",
"react-dom": "18.2.0",
"tailwindcss": "3.3.3",
Expand Down
6 changes: 3 additions & 3 deletions aws-ts-pulumi-webhooks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ const stackConfig = {
};

// Just logs information from an incoming webhook request.
function logRequest(req: awsx.apigateway.Request) {
function logRequest(req: awsx.classic.apigateway.Request) {
const webhookID = req.headers !== undefined ? req.headers["pulumi-webhook-id"] : "";
const webhookKind = req.headers !== undefined ? req.headers["pulumi-webhook-kind"] : "";
console.log(`Received webhook from Pulumi ${webhookID} [${webhookKind}]`);
}

// Webhooks can optionally be configured with a shared secret, so that webhook handlers like this app can authenticate
// message integrity. Rejects any incoming requests that don't have a valid "pulumi-webhook-signature" header.
function authenticateRequest(req: awsx.apigateway.Request): awsx.apigateway.Response | undefined {
function authenticateRequest(req: awsx.classic.apigateway.Request): awsx.classic.apigateway.Response | undefined {
const webhookSig = req.headers !== undefined ? req.headers["pulumi-webhook-signature"] : "";
if (!stackConfig.sharedSecret || !webhookSig) {
return undefined;
Expand All @@ -50,7 +50,7 @@ function authenticateRequest(req: awsx.apigateway.Request): awsx.apigateway.Resp
// unsecret the webhook so we can add it to the handler
(<any>stackConfig.slackWebhook).isSecret = false;

const webhookHandler = new awsx.apigateway.API("pulumi-webhook-handler", {
const webhookHandler = new awsx.classic.apigateway.API("pulumi-webhook-handler", {
restApiArgs: {
binaryMediaTypes: ["application/json"],
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Click==7.0
dnspython==1.15.0
Flask==1.0.2
dnspython==2.6.1
Flask==2.2.5
itsdangerous==0.24
Jinja2==2.10
Jinja2==3.1.4
MarkupSafe>=1.0
Werkzeug==0.14.1
requests==2.20.0
Werkzeug==3.0.6
requests==2.32.2
pg8000==1.13.2
2 changes: 1 addition & 1 deletion aws-ts-thumbnailer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const repo = new awsx.ecr.Repository("repo", {
// A task which runs a containerized FFMPEG job to extract a thumbnail image.
const ffmpegThumbnailTask = new awsx.classic.ecs.FargateTaskDefinition("ffmpegThumbTask", {
container: {
image: new awsx.ecr.Image("ffmpegThumbTask", { repositoryUrl: repo.url, path: "./docker-ffmpeg-thumb" }).imageUri,
image: new awsx.ecr.Image("ffmpegThumbTask", { repositoryUrl: repo.url, dockerfile: "./docker-ffmpeg-thumb/Dockerfile" }).imageUri,
memoryReservation: 512,
},
});
Expand Down
2 changes: 1 addition & 1 deletion aws-ts-url-shortener-cache-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"express": "^4.16.3",
"mime-types": "^2.1.20",
"parseurl": "^1.3.2",
"redis": "^2.8.0",
"redis": "2.8.0",
"send": "^0.16.2"
},
"peerDependencies": {}
Expand Down
1 change: 1 addition & 0 deletions misc/test/aws_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@ func TestAccAwsTsTwitterAthena(t *testing.T) {
}

func TestAccAwsTsLambdaEfs(t *testing.T) {
t.Skip("times out https://github.com/pulumi/examples/issues/1728")
test := getAWSBase(t).
With(integration.ProgramTestOptions{
Dir: path.Join(getCwd(t), "..", "..", "aws-ts-lambda-efs"),
Expand Down
Loading